AnsweredAssumed Answered

Change Value of Global Variable

Question asked by hoffmanjan@umkc.edu on Jan 25, 2013
Latest reply on Jan 25, 2013 by hoffmanjan@umkc.edu

Title

Change Value of Global Variable

Post

     Is there a more direct way of changing the $$GlobalVariable value?  Below looks like a solution but is very confusing. 

      

     Set Variable [$Dummy ; value: Evaluate ( "Let (" & GetValue ( Get ( ScriptParameter ) ; 1 ) & " = " & GetValue ( Get ( ScriptParameter ) ; 2 ) & " ; 1 )") ]

     $Dummy receives the value 1, everytime, but the indirectly referenced global variable is assigned a value passed as a parameter as a side effect of this expression using Let to assign a value to the global variable named as the first parameter.

     Thx,

     JanH

Outcomes