A script question

Joe Lewis Wilkins pepetoo at cox.net
Thu Jul 12 20:58:01 EDT 2007


Charles, This is another good reason to use the debugger. You would  
have noted either wrong or duplicates, spelled differently, if you had.

Joe Wilkins

On Jul 12, 2007, at 5:56 PM, Charles Szasz wrote:

>
> 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.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list