Variables global to a program
|
12-22-2013, 04:02 AM
Post: #8
|
|||
|
|||
RE: Variables global to a program
What is your basis for believing these variables "retain" their values. Like Patrice said, they exist only while the program is being executed and then they are gone. MyGlobVar does not exist outside the program, which is why it does not appear in the memory manager. Now, MyExpVar definitely exists and will appear in the User Program Variables list under whatever name you assigned to the program group. It will also retain any value you assigned to it. The only way to delete it is to delete the declaration itself inside the program. If you don't precede your variable names with EXPORT, they will not be retained.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)