Post Reply 
How do I create a Subroutine using System RPL?
09-29-2022, 02:45 PM
Post: #8
RE: How do I create a Subroutine using System RPL?
(09-29-2022 01:41 PM)DavidM Wrote:  In that situation, everything needs to be encapsulated into a single object. You would essentially do this the same way you would do it in a UserRPL program: put the subroutine on the stack, then assign it to a local variable at the beginning stages of your code. When you need to call it in your program, you simply recall it to the stack and execute it with EVAL.

I'll put together an example and post it to this thread separately.

Don't worry about the example, I have found an example of that approach. I made an update to my question just a few minutes ago. Thank you though! I was just wondering if there was an easier/simpler way to accomplish the same.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do I create a Subroutine using System RPL? - wmundstock - 09-29-2022 02:45 PM



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