empty is zero
Scott Morrow
scott at elementarysoftware.com
Thu Jul 9 18:20:46 EDT 2009
Hello Jacque,
> a variable sort of variable
> it only equates to zero when you do a math calculation on it
Uh... I guess I knew that... I just wasn't seeing tVariable is zero
(x=0) as a math calculation... but obviously it is
Thanks for straightening me out : )
Scott
On Jul 9, 2009, at 3:08 PM, J. Landman Gay wrote:
> Scott Morrow wrote:
>
>> it results in BOTH tParamIsZero = true AND tParamIsEmpty =
>> true (it is empty and zero?)
>
> Right. Empty is a variable sort of variable... I believe it only
> equates to zero when you do a math calculation on it. Otherwise it
> isn't a number. This prevents math from failing when a parameter
> contains no value.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list