-
Notifications
You must be signed in to change notification settings - Fork 38
Description
I was having some issues caused by copying scripts and layout objects between two solutions which use different versions of #( name ; value ).
One version recognizes global variables, but the other version does not, so
#( "$$global" ; True )
when evaluated with the one version will return
$$global = 1;
but in in the other will return
$global=1;
I ran diff on the two and saw the change in behavior was related to how the sigil is treated:
"$" & Substitute ( name ; "$" ; "" ) & " = " & Quote ( value ) & ";¶"
was changed at some point to
Case ( Left ( name ; 1 ) ≠ "$" ; "$" ) & name & " = " & Quote ( value ) & ";¶"
There is no version history in the functions in my solutions. The most recent on GitHub doesn't recognize global variables. Is this expected behavior or a bug?