BASIC Programs on HP 50G
|
03-27-2014, 08:05 AM
Post: #52
|
|||
|
|||
RE: BASIC Programs on HP 50G
(03-27-2014 03:54 AM)RMollov Wrote:(03-26-2014 08:46 PM)Alvaro Wrote: Programing in RPL has a very interesting particularity: Every time you make a user INPUT you have to declare another PROGRAM begin or you have to SAVE that input variable a as GLOBAL so that a the end you have all your HP50g FULL of USELESS variables that you will need to PURGE manually. Weird, I would say.Weird is your speed to get to conclusions having almost no idea what is it all about. Everything you say above is nonsense. Fisrt, thank you very much. Very nice. Second, I am talking about Local variable Structure; please read page 3-303 (PDF 423) of the Advanced User Guide HP 50g, about (Create Local). A Local Variable must be followed either by a Expression or a Program. If you donĀ“t proceed like that, you must use the Global Variable definition! And, inside a Program, every time you define a Local Variable it must be followed either by a Expression or a Program and repeat that so many times as you need to "pause" for variable input. Regarding the Disadvantage of Global Variables , please read page 1-7 (PDF 31) "Using Local Variables". And, if I am missing something or you know it better, then it would be much more usefull to share your knowledge, if you like. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 23 Guest(s)