Time Field (Please Help)

Rob Cozens rcozens at pon.net
Wed Mar 6 11:19:03 EST 2002


>You can not depend on it fail silently because Transcript is less
>bashful than HC. If the field does not exist then (in the development
>environment) you get an error dialog with "Chunk can't find object to
>store into". Using the if construct avoids that problem.

Read my scripts, Terry:    :{`)

>>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

>on testit
>  if there is a card field "User Name" then put "Found It" else beep
>end testit

Don't both include the if construct?

BTW, HT will complain just like Transcript if one references a nonexistent
object.

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)



More information about the use-livecode mailing list