hi there !
got some questions for you @Marcus_civis
I wonder about what happen in that so basic routine because, it returns this next error :
variable name should not exceed 127 characters in length.
here is the script :
[VarDef, a, 1]
[RoutineDef, testRoutine, [Note, a], a]
[IButton,???,"testing routine.",
[VarSet, a, 2]
[RoutineCall, testRoutine, a]
]
i get that error when i keep the variable a as global scope, if i remove it then the script is works fine.
Now change the type of the global variable from INT to STR, and it will compile, even if you have different values in global and local variable values assignment
[VarDef, a, "1"]
[RoutineDef, testRoutine,
[Note, a]
,a]
[IButton,???,"testing routine.",
[VarSet, a, 2]
[RoutineCall, testRoutine,a]
]
note i use a as variable name but it will be the same with anything else then a
Nicolas