In your preferences, under the script editor section, chances are that
"strict compilation mode" has been checked. If so you must specifically
declare any variables.  If you take the check out, problem should go away.

On Sat, Feb 19, 2011 at 11:21 AM, Yves COPPE <yvesco...@skynet.be> wrote:

> Hello list,
>
> LC has suddenly a strange behavior
>
> I make a new stack
> create a btn
> write code (without any variables) and close the btn : no probleù
>
> as soon as I create a variable (I may change the name of the variable, it
> makes no difference) and close the script I get an error
>
> compilation error at line x (chunk : can't create a variable with that name
> (explicitVariables?) near "[the name of the variable]", char y
>
> if I quit the script and click the btn : nothing happens
>
> if I quit LC and restart and click this btn, the code executes normally
> ...????
>
>
> Any explication ?
> Thanks
>
>
> Greetings.
>
> Yves COPPE
> yvesco...@skynet.be
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to