(02-10-2020 06:16 AM)cyrille de brébisson Wrote: Hello,
Program globals (ie, variables declared in a program outside of the scope of functions) are persistent.
By default, they are not exported (meaning that they are hidden from the user outside of the program, EXCEPT if they are fully qualified, they will not apear in the UI either).
EXPORT makes them exported. LOCAL is a marker for not exported, but since it is the default, it is optional. It is however good practice to put it because it makes the variable declaration more obvious.
Program global ARE persistent from run to run of the program. They should also resist a recompile if all goes well. They should resist a calculator power cycle/reboot also.
They will NOT survive a send/receive however.
Cyrille
OS upgrade resistant, too! Right?
- -
VPN