Great, learned two things form this - delete and any! Pete Molly's Revenge <http://www.mollysrevenge.com>
On Wed, Jul 13, 2011 at 9:58 PM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 7/13/11 11:33 PM, Pete wrote: > >> You're right, should probably be something like "replace y& comma with >> empty in x". >> > > Plain old "delete" does it. > > Also, not everyone knows about the "any" keyword but it's really handy for > lines like this: > > put item random(the number of items in x) of x into y > > Which is more readable as: > > put any item of x into y > > I'm very fond of "any". > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode