Post Reply 
User-defined functions in Free42
01-25-2021, 08:32 PM
Post: #41
RE: User-defined functions in Free42
Hmmm. Func does actually create variables "X" ... "L", but they are private and can't be accessed using RCL. The idea of making them private was to avoid cluttering up the regular variables namespace, and also to keep the way the backups are stored an implementation detail, so I can tinker with it and make it more efficient or whatnot.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-23-2021, 07:26 PM
Post: #42
RE: User-defined functions in Free42
First I want to say that I love the FUNC functionality! It has made my code so much better.

It would be even better if it could optionally restore other global resources like the alpha register, indexed matrix state, flags, & registers.
Find all posts by this user
Quote this message in a reply
02-24-2021, 03:59 AM
Post: #43
RE: User-defined functions in Free42
One extension that would be useful in the infinite stack mode would be to immediately RTNERR after FUNC if the stack has too few arguments for the function.
Find all posts by this user
Quote this message in a reply
Post Reply 




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