coercion mistake

Stephen Barncard stephenREVOLUTION at barncard.com
Mon Sep 19 11:22:44 EDT 2005


Good question though. Sometimes the interpreter will continue to 
auto-type the variable as a string, so one must do a math operation 
to guarantee that it's a number before it's used, like this;   put 
(myVar+0) into myVar

>My mistake
>
>It is a number after striping of the chars. Sorry.
>
>Daniel Wenger
>



More information about the use-livecode mailing list