ExplicitVariables

Mark Wieder mwieder at ahsoftware.net
Mon Mar 1 12:11:33 EST 2010


paolo-

Monday, March 1, 2010, 8:55:41 AM, you wrote:

> I just installed Rev 4.5 in macosx 10.5.8
> Trying to use this piece of code

> on mouseUp
>    set the explicitVariables to false

>    put 1 into UNO
>    answer UNO
> end mouseUp

> I get this error:

> button "Button": compilation error at line 4 (Chunk: can't create a variable
> with that name (explicitVariables?)) near "UNO", char 10

> How can I fix this? Any idea?

Turn off explicitVars first, before trying to compile the code. Or
declare UNO as a local variable. Your line of "set the..." is being
compiled, not setting the property.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list