Post Reply 
WP 34S Partition of Integers Programme & a Possible OS Bug
05-08-2014, 11:07 AM
Post: #2
RE: WP 34S Partition of Integers Programme & a Possible OS Bug
(05-08-2014 10:53 AM)Gerald H Wrote:  I attempted to replace line 63 with "BACK 012" & delete line 50 but the programme then either mis-functioned or produced wrong answers - assistance on this point would be appreciated.

Try single stepping the program over the BACK instruction to see where it ends up -- you can switch between program and run modes freely to help see what is going on.

Better still, don't use BACK and SKIP -- they save the instruction for the label, however they make programs far less maintainable and they don't provide a noticeable performance benefit and they make programs far less maintainable. The 34S isn't short of numeric labels.

That rant all said, I'm pretty sure BACK does function correctly. At least it has done in the past Smile


- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Paul Dale - 05-08-2014 11:07 AM



User(s) browsing this thread: 1 Guest(s)