Problems using Send and Functions with 2 parameters

Dar Scott dsc at swcp.com
Tue Aug 8 19:06:56 EDT 2006


On Aug 8, 2006, at 1:01 PM, Sean Shao wrote:

> put value("randomTime(5,2)", group "analogClock")

There are some limitations to value() when working with sending  
arrays and the result of arithmetic.  At times arrays are simply  
empty values and numbers have numberFormat applies with possible  
resulting loss of info.

Assuming I didn't goof in my tests, it is like this (with  
corresponding send info):

***********************************************
value(<expr>)
                       array     number
parameter             OK        OK
result                OK        fail
***********************************************

value(<expr>, <obj>)
                       array     number
parameter             --         --
result                fail       OK
***********************************************

send to <obj>
                      array     number
parameter            fail      fail
result               OK        OK
***********************************************
send to <obj> in time
                      array     number
parameter            fail      fail
result               --        --
************************************************

This is bug 699 which RunRev has changed to an enhancement request.

Dar Scott




More information about the use-livecode mailing list