Post Reply 
User-defined functions in Free42
01-14-2021, 04:32 PM
Post: #37
RE: User-defined functions in Free42
(01-14-2021 07:23 AM)Werner Wrote:  
(01-14-2021 02:08 AM)Thomas Okken Wrote:  Note that variable-number-of-arguments semantics are not common at all. As far as HP-42S built-in functions are concerned, the complete list is COMPLEX, R->P, and P->R.

And AGRAPH and PIXEL.

Touché!

The good news is that for all the examples of variable-argument functions given so far, the number of arguments can be determined without disturbing the stack, using the CPX? and MAT? functions, so for that style of function at least, no further instruction set surgery is necessary.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: User-defined functions in Free42 - Thomas Okken - 01-14-2021 04:32 PM



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