newRPL - Updated to build 1510 [official build remains at 1487]
|
08-10-2021, 06:29 PM
Post: #166
|
|||
|
|||
RE: newRPL - Updated to build 1487 [ including official build]
(08-10-2021 03:09 PM)Wes Loewer Wrote:(08-09-2021 09:39 PM)Claudio L. Wrote: I don't oppose to having an alias, but if it has more than 3 letters it's harder to type, so I would personally never use it! Thinking some more about it: since the variable is not changed during the early check, we don't need the magnitude of the step, just the direction. The early check then becomes: If sign('step') > 0 ---> Loop if 'start' <= 'end' , otherwise exit if sign('step') < 0 ---> Loop if 'start' >= 'end' , otherwise exit if sign('step') == 0 ---> Loop if 'start' == 'end', otherwise exit So, instead of taking an extra argument with the step, maybe we should include the direction in the command name, that way all new commands become "drop-in" replacements for the standard FOR when the user needs that early check. I think we'll settle for the following (unless there's any objections): Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)