Hi,
I have students working with LiveCode 5.5.4 on MacOSX.
For a couple a days one of them get this message:
compilation error at line 25 (Chunk: can't create a variable with that name (explicitVariables?)) near "posX", char 45
It's like if it was no more possible to affect a value to a local variable (no problem with global variable)
I even tried some very basic stack with nothing except a single handler with something like "put 1 into "dummy" " and it does'nt work neither...
Last thing: the stack works on others computers...
Any ideas?
Strange compilation behavior
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Strange compilation behavior
On the machine in question, open the livecode preferences. Click on the left to bring up the pane for the script editor. See if there is a check in the "strict compilation" mode box. If there is take it out. If the check is in that box, all variables must be explicitly declared or the engine will complain.
Its possible this was done in code also, but since the stack works on other machines it is most likely not set in the script of the stack.
Its possible this was done in code also, but since the stack works on other machines it is most likely not set in the script of the stack.
-
- Posts: 21
- Joined: Sat Jan 15, 2011 6:40 pm
Re: Strange compilation behavior
Wow, great! It's working! I haven't noticed this option.
And thanks for this light speed response!
And thanks for this light speed response!
