Strict Compilation Mode
John
john at onechip.com
Sun Dec 1 21:37:44 EST 2013
Ender,
Did you declare the variables with something like:
local sPreviousPage, tPage
before use?
Thanks,
John
On Dec 1, 2013, at 6:29 PM, Ender Nafi Elekcioglu <endernafi at gmail.com> wrote:
> Dear LiveCoders,
>
> I’m curious about the benefits of strict compilation mode.
> Could someone please tell me them briefly; is it worth using?
>
> I’ve tried it and encountered some -weird for me- errors.
>
> code:
> _put item 2 of the filename of sPreviousPage into tPage
>
> error:
> … compilation error at line 403 (Expression: unquoted literal) near “filename”, char 18
>
> code:
> _move sSnapshot from tLoc1 to tLoc2
>
> error:
> … compilation error at line 412 (Expression: unquoted literal), char 12
>
>
> How should I quote a script variable?
>
>
> Thanks,
>
> ~ Ender Nafi
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list