Using a field variable with exp10()

Alex Tweedly alex at tweedly.net
Mon Apr 11 16:01:07 EDT 2005


Glen Bojsza wrote:

>but I cannot get 
>put the fld "vTXpower" into tnum
>put the exp10 of (tnum)
>
>So I guess it is not taking the 2 from the field "vTXpower" as a real number??
>
>Any insight is appreciated.
>  
>
This works OK for me - whether I type 2 or 2.0 or 2.5 into the field.
Is there maybe some odd invisible character in there ?

What happens if you do

>put the fld "vTXpower" into tnum
>put tnum into msg
>  
>

How about

>>put the fld "vTXpower" into tnum
>>add 1 to tnum
>>    
>>

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005



More information about the use-livecode mailing list