compile error

Colin Holgate coiin at verizon.net
Sat Feb 19 13:41:58 EST 2011


On Feb 19, 2011, at 1:27 PM, Mike Bonner wrote:

> 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.


That does seem to be it. Here's a quick test:

on mouseUp
   --global tester
   put "hello" into tester
end mouseUp


With the global line commented out you would get the compiler error. With it not commented out you don't.




More information about the Use-livecode mailing list