parameter variables question

Dar Scott dsc at swcp.com
Tue Jul 29 17:33:00 EDT 2003


On Tuesday, July 29, 2003, at 04:11 PM, Alex Rice wrote:

> On Tuesday, July 29, 2003, at 04:05  PM, Alex Rice wrote:
>
>> Consider a handler that sums it's parameters before doing it's work, 
>> like this:
>
> Ack, sorry. Once again the act of posting to the list triggers 
> something and then I understand it :-)
>
> tSomeNonexistentVariable gets evaluated as a string, so that's what's 
> in p2, which is why the "+" operation fails on the RHS.

What's more important is that string is empty, as in "", and that is 
not a numeral and can't be interpreted as a number.

Dar




More information about the use-livecode mailing list