A script question
Charles Szasz
cszasz at mac.com
Thu Jul 12 20:56:01 EDT 2007
Sarah,
Thanks! I just did not see that error. I also found another error. I am
going to be observant.
Charles Szasz wrote:
>
> I have tried to use the following script to clear fields but I am getting
> a weird error message in the script editor:
> chunk: no such object
> file
> put empty into field tName
>
> This is weird because field tName is a variable.
>
> Here is the script:
>
> put "name2,examier2,vsmiFld,vsmiFld2,ci1,vsmiFld3,vsmiFld5,vsmiFld4" into
> tNames
> REPEAT for each item tName in tNames -- Clears all fields
> put empty into field tName
> END REPEAT
>
> I don't have to use this script but I hate to empty the fields the long
> way:
>
> put empty into field "name2" of card "index"
> put empty into field "examiner2" of card "index"
> put empty into field "vmiFld" of card "Index"
>
> etc.
>
> Can anyone tell me why repeat script does not work?
>
--
View this message in context: http://www.nabble.com/A-script-question-tf4071547.html#a11571578
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list