Some thoughts on duck typing

Mark Wieder mwieder at ahsoftware.net
Thu Jan 13 21:48:26 EST 2011


Richard-

Thursday, January 13, 2011, 8:02:16 AM, you wrote:

> How did you do that for any objects other than images?

It can be done, but it's *really* ugly. Determine the ID you want to
create (it's best to create a numerically-sorted list if you're doing
more than one), then start creating and deleting objects until you've
created one with an ID one less than that. Then go ahead and create
your new object. Rinse and repeat.

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list