Post Reply 
[HP 50g] Evaluation in algebraics
09-14-2014, 05:42 PM
Post: #5
RE: [HP 50g] Evaluation in algebraics
(09-14-2014 05:26 PM)DavidM Wrote:  You could probably call some of the Virtual Stack commands with SYSEVALs, but they're normally only used from SysRPL (as opposed to User RPL). Runstream control as well, and many of the runstream commands don't really apply outside of a SysRPL context.
I was thinking of creating a SysRPL function called, say, ARGC that detects when it is called within an algebraic and in that case does DEPTH, otherwise it pushes -1.
(09-14-2014 05:26 PM)DavidM Wrote:  One way to handle optional arguments in User RPL code is to put the optional parts in a list.
That would be ideal, and is how I would like to do it, but the traditional '' syntax doesn't allow inline lists. (The new `` does, which is nice but I'd like to try and get this working for old-style symbolics.)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
[HP 50g] Evaluation in algebraics - ettlz - 09-13-2014, 01:32 PM
RE: [HP 50g] Evaluation in algebraics - ettlz - 09-14-2014 05:42 PM

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