Time Field (Please Help)

David Vaughan drvaughan55 at mac.com
Mon Mar 4 17:52:01 EST 2002

On Tuesday, March 5, 2002, at 07:29 , Rob Cozens wrote:
> My questions, again, are:
> 1.  Once the original handler runs once, will it continue to send an
> updateTime message every second until the RR engine quits regardless of
> what card or stack is in the current window?
I have tested that it is sent to the correct object regardless of going 
to another card. I have not tested another stack but suspect it will. 
Must find out.
> 2.  Will my modified handler correctly capture the queue id of the last
> sent message?  If not, how does one capture the result when one uses 
> "send
> ....in..."?
...always has for me
> 3.  Wouldn't the other script I posted
>> on updateTime
>>   if there is a field "Now" then
>>      put the long time into field "Now"
>>      send updateTime to field "Now" in 1 second
>>  end if
>> end updateTime
> Effectively stop any further updateTime messages from being sent once 
> the
> user leaves the current card or stack?
Yes, with a minor editorial, to do with the words "to field "Now"" in 
the "send" line. Logically, if field "Now" is receiving the message then 
it must first exist, so the "if" test is superfluous. More likely, you 
are putting the handler in the card or stack script and the test is 
logical but "to field "Now"" is the wrong place to send it.
Of course I assume this fragment was just a concept on your part rather 
than the golden fruit of your finest coding hour :-)  and yes, the 
concept is fine. I was just caught by the semantics.

> Rob Cozens
> CCW, Serendipity Software Company
> "And I, which was two fooles, do so grow three;
> Who are a little wise, the best fooles bee."
> from "The Triple Foole" by John Donne (1572-1631)
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

More information about the use-livecode mailing list