deleting multiple controls all at once
Rob Cozens
rcozens at pon.net
Sun Feb 12 12:35:46 EST 2006
All,
>> REPEAT with n = 1 to 300
>> IF exists ("thing." & n) THEN
>> delete "thing." & n
>> END IF
>> END REPEAT
>>
All solutions posted so far neglect to take into account that the
number of a control changes when a control with a lower number is
deleted.
repeat with n = 300 down to 1
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