Post Reply 
Free42 LSTO REGS
09-25-2019, 03:52 PM
Post: #1
Free42 LSTO REGS
Greetings,

This is my first time posting. Generally, I've been content with just reading these forums, but I just discovered something about Free42's LSTO feature that I haven't seen mentioned anywhere and it's too exciting not to share!

This is how it started:

Code:
00 { 23-Byte Prgm }
01▸LBL "TstLSTO"
02 RCL "REGS"
03 LSTO "REGS"
...

If LSTO was used to create a local REGS, would all the commands that normally interact with REGS address that local REGS and leave the global REGS untouched?

I tried STO and RCL and their arithmetic, an assortment of STAT functions, ISG, DSE, printing the REGS, CLΣ and CLRG. I'm sure there's more, but all of these interacted with the local REGS and ignored the global one!

At the moment, I have no real need for this, but I rather like the idea that I can use the whole suite of REGS-related functions in a subroutine without worrying about their impact on previously stored data.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Free42 LSTO REGS - Epidiah - 09-25-2019 03:52 PM
RE: Free42 LSTO REGS - David Hayden - 09-26-2019, 05:50 PM
RE: Free42 LSTO REGS - Guenter Schink - 09-26-2019, 08:10 PM
RE: Free42 LSTO REGS - Thomas Okken - 09-28-2019, 02:53 AM
RE: Free42 LSTO REGS - Thomas Okken - 09-28-2019, 03:19 AM
RE: Free42 LSTO REGS - Namir - 10-04-2019, 12:34 PM
RE: Free42 LSTO REGS - Paul Dale - 10-05-2019, 08:46 AM
RE: Free42 LSTO REGS - SammysHP - 10-21-2019, 09:31 AM
RE: Free42 LSTO REGS - Epidiah - 10-21-2019, 03:07 PM
RE: Free42 LSTO REGS - Thomas Okken - 10-23-2019, 12:01 PM
RE: Free42 LSTO REGS - Epidiah - 10-23-2019, 02:22 PM
RE: Free42 LSTO REGS - Epidiah - 10-25-2019, 01:50 AM
RE: Free42 LSTO REGS - SammysHP - 10-25-2019, 07:17 PM
RE: Free42 LSTO REGS - Epidiah - 10-26-2019, 02:52 AM
RE: Free42 LSTO REGS - rprosperi - 10-23-2019, 01:38 PM
RE: Free42 LSTO REGS - Thomas Okken - 10-23-2019, 11:51 PM
RE: Free42 LSTO REGS - Thomas Okken - 10-24-2019, 11:37 AM
RE: Free42 LSTO REGS - Paul Dale - 10-24-2019, 12:26 PM
RE: Free42 LSTO REGS - Epidiah - 10-24-2019, 12:57 PM
RE: Free42 LSTO REGS - Werner - 10-25-2019, 06:21 AM
RE: Free42 LSTO REGS - Epidiah - 10-25-2019, 02:02 PM



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