Post Reply 
How can I maintain a variables value when editing a Program or App
12-19-2014, 09:03 AM
Post: #6
RE: How can I maintain a variables value when editing a Program or App
(12-18-2014 07:13 AM)cyrille de brĂ©bisson Wrote:  Now, for the reloading, as the LAST global variable declared in your program (non exported), do:
RELOAD:= IFTE(POS(Notes, "MyProgramNave_SavedVars"), 0, EXPR(Notes("MyProgramNave_SavedVars")));

This will cause, upon program compilation, the IFTE command to be executed. And that command should reload all program variables automaticaly... unless I messed up somewhere...
Very Nice ! It works with a swap of the IFTE True and False Clauses:
RELOAD:= IFTE(POS(Notes, "MyProgramNave_SavedVars"), EXPR(Notes("MyProgramNave_SavedVars")), 0);
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How can I maintain a variables value when editing a Program or App - Didier Lachieze - 12-19-2014 09:03 AM



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