Try this when you have a moment. Step through if you have a little more time
than that. The issue is the way God made the integers.
on mouseUp
put "a,b,c,d,e,f,g" into temp
repeat with y = 1 to the number of items of temp --This line matters
if item y of temp is in "cde" then delete item y of temp
end repeat
answer temp
end mouseUp
on mouseUp
put "a,b,c,d,e,f,g" into temp
repeat with y = the number of items of temp down to 1
if item y of temp is in "cde" then delete item y of temp
end repeat
answer temp
end mouseUp
Craig Newman
-----Original Message-----
From: Mark Mitchell <[email protected]>
To: use-livecode <[email protected]>
Sent: Thu, Mar 10, 2016 12:24 pm
Subject: Thanks to Dr. Richard E. Hawkins, Esq.
OMG! I’ve done this for 20 years and this never ever occurred to me! What an
elegant solution! I’ve always been able to work around it in other ways, but
nice one Dr. Hawkins!> On Mar 7, 2016, at 8:00 PM,
[email protected] wrote:> > By counting down instead of up,
you can delete the button without messing> with your loop, if that is indeed
what you want to do based upon the tests> in do stuff> -- > Dr. Richard E.
Hawkins, Esq._______________________________________________use-livecode
mailing [email protected] visit this url to subscribe,
unsubscribe and manage your subscription
preferences:http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode