Post Reply 
User-defined functions in Free42
01-14-2021, 03:48 AM
Post: #30
RE: User-defined functions in Free42
(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.

These three could be solved with a complex? conditional test:

Code:
LBL"MYFUNC"
  complex?
    GTO 00
  FUNC 21
  ...
  RTN
LBL 00
  FUNC 11
  ...
  RTN

I suspect that a little more would be needed.


Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: User-defined functions in Free42 - Paul Dale - 01-14-2021 03:48 AM



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