Large 50g program example
|
06-23-2015, 03:49 PM
Post: #13
|
|||
|
|||
RE: Large 50g program example
(06-20-2015 04:51 AM)Thomas Klemm Wrote:Quote:Local names are evaluated differently from global names. When a global name is evaluated, the object stored in the corresponding variable is itself evaluated.- HP 48G Series User's Guide p. 29-17 Ahhh, I had forgotten about the need to EVAL. Another reason not to do it this way. Last time I did it was on SysRPL, I don't think I ever used local functions in userRPL. For whoever might be interested, this is one behavior I changed in newRPL, local variables are evaluated just the same as globals, except they are compiled into GETLAM's (actually more like a GETLAMEVAL of some sort), so this technique could actually make more sense as it would be much faster to execute, since the subroutine is not searched by name through a directory. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)