Post Reply 
newRPL: Named subroutines proposal
10-16-2015, 08:44 PM
Post: #14
RE: newRPL: Named subroutines proposal
(10-16-2015 07:49 AM)Paul Dale Wrote:  Yes, I know RPL system flags have negative numeric values and user flags are positive, but a memorable command name is still much better.

I don't think I ever mentioned this but the flag commands in newRPL support the numeric designation only for backwards compatibility, we have names for flags and/or groups of flags. So every flag will get a name:
'DEG' SF will set the angle mode in degrees, same as the DEG command. Flag query commands FS? and FC? were also extended to support named flags.
There's commands that change flags, like DEG, GRAD and RAD, but I think the named flag used with the traditional SF, CF commands is the preferred way (in my opinion), so you know you are setting a flag.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: Named subroutines proposal - Claudio L. - 10-16-2015 08:44 PM



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