Post Reply 
Useful Programming Trick .. But 40 years late!
01-18-2016, 07:32 PM
Post: #3
RE: Useful Programming Trick .. But 40 years late!
Something along the lines of macros in assembly language, you could go further and write with the desired structures, in text, with a text editor, then have a program that replaces the structure commands with what you're proposing above, before TRANSFORMing to BASIC. I did something similar it order to get rid of the line numbers (the program that did the TRANSFORMing added them) and to have white space for readability, but did not think of taking it as far as forming such structures. I showed Geir an example of it when we met in L.A. a couple of years ago. The Paris users' group did have a module for the 71 that added multi-line IF...THEN...ELSE...ENDIF, CASE, and maybe some others, but I never got it.

http://WilsonMinesCo.com  (Lots of HP-41 links at the bottom of the links page, at http://wilsonminesco.com/links.html#hp41 )
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Useful Programming Trick .. But 40 years late! - Garth Wilson - 01-18-2016 07:32 PM



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