No subject

Dan Soneson sonesond1 at southernct.edu
Fri Feb 13 14:13:49 EST 2004


>> However, try putting the output of the function into the field:
>> 	put cube(3) into fld 1 -- the output goes into the message box, not
>> the field.
>
> Tried here and it works with a field...!?
>
>> If you try this with a standard Transcript function:
>> 	put sqrt(4) into fld 1 -- works as expected, with output to the 
>> field.
>> Has this always (not) worked like this? Have I just missed it all
>> these years?
>> I could swear I've done this successfully before.
>
> Works here and should work for you...!?
>
>> Devin Asay
>> Humanities Technology and Research Support Center
>> Brigham Young University
>
> Sorry, totally clueless...
>
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> www.major-k.de

I can confirm Devin's experience. When calling the function directly 
from the message box nothing in the field changes, the the result goes 
into the message result box, as if it were a simple put command. 
However, calling the function from a button script works just fine. So 
does putting the result into a variable and putting that variable into 
the field (in the multi-line version of the message box).

I'm using Rev 2.1.2 on Mac OS X 10.2.6. Maybe it's different in 
Panther? Windows?

Looks like a bug in any case.
Dan


Daniel B. Soneson
Director, Language Lab
Southern CT State University



More information about the use-livecode mailing list