Post Reply 
HP Prime speed vs TI-Nspire CX
11-09-2016, 08:00 PM
Post: #25
RE: HP Prime speed vs TI-Nspire CX
For resurrecting old BASIC listings (if only to see what they do before a rewrite) most labels could be restricted to the same procedure... Most old listings with lots of GOTO's made little use of procedures.

When I have used GOTO for error handling, I have never needed the context to be preserved:
If engine==off and restart()==off goto Failure;
...
Failure: Reboot();//or Halt();

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime speed vs TI-Nspire CX - jte - 11-08-2016, 06:43 PM
RE: HP Prime speed vs TI-Nspire CX - DGM - 11-08-2016, 09:10 PM
RE: HP Prime speed vs TI-Nspire CX - ttw - 11-09-2016, 08:44 AM
RE: HP Prime speed vs TI-Nspire CX - StephenG1CMZ - 11-09-2016 08:00 PM



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