HP-15C LE Error 5 in simple loop



#3

I was trying to get around the PSE issue by using R/S to stop a simple program. This simple count-down loop produces "Error 5" when you get to 3.0000

001 LBL A

002 1

003 0

004 STO 0

005 LBL B

006 RCL 0

007 R/S

008 DSE 0

009 GSB B

010 RTN


#4

Try GTO B instead of GSB B on line 9. You are filling up the return stack.

- Pauli


#5

That's it indeed.

#6

Subroutine nested more than 7 deep. 10 - 7 = 3.


#7

My apologies. I should have known that.


Possibly Related Threads...
Thread Author Replies Views Last Post
  [HP Prime] "Error while checking exact value with approximate value, returning both!" Chris Pem10 13 1,787 12-06-2013, 05:12 AM
Last Post: parisse
  Simple Tetris. free for you to improve on cyrille de Brébisson 3 674 11-20-2013, 05:43 PM
Last Post: Erwin Ried
  MS advert shows spreadsheet with obvious error BruceH 3 775 11-14-2013, 09:50 AM
Last Post: Bill (Smithville, NJ)
  [HP-Prime] Simple Game (Bugs) CompSystems 1 487 11-01-2013, 10:18 AM
Last Post: Han
  HP Prime: Rounding error in determinant Stephan Matthys 3 595 10-25-2013, 09:29 PM
Last Post: Walter B
  HP Prime Error: Summation Upper Bound > 1000 HP Pioneer 2 512 10-25-2013, 11:32 AM
Last Post: steindid
  Prime Error or Mine? toml_12953 12 1,373 10-22-2013, 10:35 AM
Last Post: toml_12953
  WP34s integration trapped in infinite loop Bernd Grubert 25 2,253 10-17-2013, 08:50 AM
Last Post: Dieter
  Explaination on How to Reset Caculator in Users guie: error Harold A Climer 5 856 10-15-2013, 02:11 AM
Last Post: cyrille de Brébisson
  Repair of HP-34C - Error 0 and Error 9 Jeff Kearns 3 615 10-11-2013, 12:29 PM
Last Post: Randy

Forum Jump: