Strict Compile Mode

Peter Haworth pete at lcsql.com
Sat Oct 13 19:14:52 EDT 2012


I just came across another instance of this situation.  The variable you
name in the catch part of try/catch does not have to be predefined in
Strict Compile Mode.
Pete
lcSQL Software <http://www.lcsql.com>



On Mon, Oct 8, 2012 at 1:15 PM, Peter Haworth <pete at lcsql.com> wrote:

> I was surprised to find that not all variables have to be defined in this
> mode.  It seems that using a variable in a repeat command such as "repeatwith x=1 to 10" does not require x to be defined as a local variable, nor
> is an error flagged when x is used later in the handler, either within the
> loop or after it.  I can't decide if I like that or not.
>



More information about the Use-livecode mailing list