Post Reply 
Question about user vars
04-09-2015, 01:15 AM
Post: #3
RE: Question about user vars
Correct -- when exporting variables, the unqualified names are based on the most recent reference (e.g. whichever was "compiled" most recently; also using Run from the program catalogue seems to have similar effects). So if you have two programs: TEST1 and TEST2 and both programs export a variable called MYVAR, then to avoid any ambiguity, it is best to qualify them via TEST1.MYVAR or TEST2.MYVAR. The only case where you can be sure which MYVAR is used is within the source file for TEST1 (which would use the MYVAR associated with TEST1) or within the source file for TEST2 (which would use the MYVAR associated with TEST2).

The same idea holds for Apps, too.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Question about user vars - Dirk.nl - 04-06-2015, 11:28 AM
RE: Question about user vars - Dirk.nl - 04-07-2015, 09:12 PM
RE: Question about user vars - Han - 04-09-2015 01:15 AM
RE: Question about user vars - Dirk.nl - 04-09-2015, 05:33 AM



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