Post Reply 
Confused about LOCAL....
11-17-2017, 06:20 AM
Post: #9
RE: Confused about LOCAL....
Hello,

(11-16-2017 06:04 AM)webmasterpdx Wrote:  Cyrille, my understanding (and this is what the documentation says) is that a program global is EXPORT A; outside of a function.

Originally (in the first versions of the 39GII+) , the syntax (for program globals) was:
LOCAL ?????; meant: global to the program and not directly visible to the outside world (unless fully qualified)
and EXPORT ?????; meant global to the program and directly visible to the outside world.

Then LOCAL became optional (which it was not originally), thus leaving only EXPORT. However, LOCAL was kept for backward compatibility.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Confused about LOCAL.... - webmasterpdx - 11-15-2017, 06:19 AM
RE: Confused about LOCAL.... - Dirk.nl - 11-15-2017, 12:18 PM
RE: Confused about LOCAL.... - Carlos295pz - 11-16-2017, 06:43 AM
RE: Confused about LOCAL.... - Carlos295pz - 11-16-2017, 06:55 AM
RE: Confused about LOCAL.... - Tim Wessman - 11-16-2017, 05:13 PM
RE: Confused about LOCAL.... - cyrille de brébisson - 11-17-2017 06:20 AM
RE: Confused about LOCAL.... - Han - 11-17-2017, 04:04 PM



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