Hi all,
I am getting the following error, of which I cannot understand, because I just copied/pasted the coding from another (working) script. It has happened with other scripting as well, the way I have gotten rid of it is to:
- restart the program/computer (annoying!)
- making the temporary variable a global variable (so many globals now)
The coding is: "put the text of me into tText "
The error type is: "Chunk: Can't create a variable with that name (explicitVariables?)"
Any enlightenment would be really appreciated.
Cheers,
Adrian[/code]
Error: Can't create a variable with that name
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
This usually happens if you have checked to "Check Variables by default" in the script editor preferences. If that option is checked, Revolution requires you to declare your local variables (as you must do with globals). In older Rev versions (2.7 if I recall correctly) this setting was sometimes erranously checked, if the though the checkbox was marked as unchecked, so checking / unchecking this option in the Script editor prefes might helps. I tend to declare all locals now and find it extremly helpful to debug, but that is matter of taste though.
Maybe this is any help,
Malte
Maybe this is any help,
Malte