quoting all names, the mystery (was Re: [ANN] News Reader Stack Available)

Dar Scott dsc at swcp.com
Thu Jul 3 15:27:00 EDT 2003


On Thursday, July 3, 2003, at 01:48 PM, Alex Rice wrote:

>> Here is where I see a mystery--
>> Suppose I insert this line at the start of the the minimal unquoted 
>> test:
>>   if 0 = 1 then put "cow" into dummy
>> The report at the end shows that 'get dummy' got empty.  If I put 
>> that at the end, then 'get dummy' got "dummy".
>
> So this line
> if 0 = 1 then put "cow" into dummy
> although it is never executed, the compiler creates a local variable 
> named dummy?

That seems to be the case.  At least as far as the use as a literal in 
subsequent lines.

Dar Scott




More information about the use-livecode mailing list