Post Reply 
New Version: 2.1.14181 (2018 10 16)
04-14-2020, 04:16 AM (This post was last modified: 04-14-2020 04:18 AM by Jacob Wall.)
Post: #58
RE: New Version: 2.1.14181 (2018 10 16)
(04-13-2020 05:02 AM)CyberAngel Wrote:  Why would you override the reserved system variable F?
LOCAL OP3:=0,F:=0,Z22:=0;
- -
VPN

Although not my program code, take note that F here is LOCAL, and as per Cyrille's explanation here https://www.hpmuseum.org/forum/thread-14577.html
Quote:Symbols can be in LOTS of places in the system (see order of resolution)...

1) Local variables (CAS or PPL). Note that when calling the CAS from PPL, all the current PPL Local variables are accessible from the CAS (normally)
2) Current Program globals (variables declared out of the scope of functions)
3) App variables (AVars)
4) App build in variables (Xmax, Xmin...)
5) Other programs globals (exported, or not if fully qualified)...
6) Other apps globals (AVars and build in)...
7) Home and CAS global variables (including home build in: A-Z, Z0-Z9 + HVars)

Home and CAS global variables are last in order of resolution, so LOCAL F is totally valid inside a program and will not in any way affect the built in global variable.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New Version: 2.1.14181 (2018 10 16) - Jacob Wall - 04-14-2020 04:16 AM



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