Anyway after several attempts I decided to abandon declaring variables in the conventional manner and opted for using Assign. I couldn't get several operators to work neither (the ones which include the equals sign), but I managed to find a compromise. The veterans around here might have something to say about this. Anyway the code that seems to work with Execute looks really strange.
Example Edit Control Contents:
Assign("isThisReal","hello") Assign("isThisReal",$isThisReal & " world") msgbox(0, "", $isThisReal) Assign("number",10) Assign("number",$number^3 + 24) $number $isThisReal & " " & $number
Result:
Assign("isThisReal","hello") ==> 1 Assign("isThisReal",$isThisReal & " world") ==> 1 msgbox(0, "", $isThisReal) ==> 1 Assign("number",10) ==> 1 Assign("number",$number^3 + 24) ==> 1 $number ==> 1024 $isThisReal & " " & $number ==> hello world 1024
You will notice some of the code is not even correct AutoIt syntax, but it runs. Perhaps someone can contribute some valuable input. I wonder how the current alpha release will perform with the Assign function, because the dollar sign isn't always there.
Edited by czardas, 29 June 2012 - 06:24 PM.





