Post Reply 
[question]userRPL, functions or (sub)subprograms and directories
03-29-2017, 07:42 PM (This post was last modified: 03-29-2017 08:53 PM by pier4r.)
Post: #14
RE: [question]userRPL and functions or (sub)subprograms
If I use a DIR ... END structure (see previous posts) is there a way to pass variables that are not globals, that AFAIK are pretty slow in userRPL, between subprograms in a smart way or I have to pass every time the variables leaving a copy on the stack as usual?

Update1: so far instead of passing long lists of local variables I just decided to use globals. Maintenance value > speed value (because with 'easier' code one gets correct results, with premature optimizations one gets necklaces of fails)

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
about DIR END - pier4r - 03-29-2017, 06:15 PM
RE: [question]userRPL and functions or (sub)subprograms - pier4r - 03-29-2017 07:42 PM



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