Time Field (Please Help)

David Vaughan drvaughan55 at mac.com
Mon Mar 4 22:35:02 EST 2002


On Tuesday, March 5, 2002, at 01:55 , Jacqueline Landman Gay wrote:

>
> ... if a user moves to another card without a field named "now", there 
> would probably be an error when the updateTime handler tries to access 
> a field that no longer exists on the card....

Jacqueline

Clarifying your "...probably be an error...", let's say the object 
containing the handler is on card 1 as is the field "now" to update. If 
you are on card 2 the message is still sent correctly to the object on 
card 1 but will break with an error because the field to update is not 
on card 2. Testing " if there is a field "now"... " solves this error 
problem and keeps the cycle running, although no update will occur until 
you return to card 1.

regards
David
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> 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