empty multiple fields
Jeanne A. E. DeVoto
revolution at jaedworks.com
Sun Feb 29 15:47:14 EST 2004
At 2:53 PM -0500 2/29/2004, hershrev wrote:
>On Thursday, February 26, 2004, at 08:07 PM, Ken Ray wrote:
>>repeat with x = 1 to the number of flds
>> put empty into fld x
>>end repeat
>If needed to exclude a certain field e.g. named "xlable" how is it done ?
In this case, you check the field's name inside the repeat loop, in
order to make sure it isn't the field you want to skip:
repeat with x = 1 to the number of fields
if the short name of field x is not "xlable"
then put empty into field x -- only if not "xlable"
end repeat
--
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list