Some thoughts on duck typing
th.douez at sunnyrevtalk.com
Mon Jan 17 04:26:26 CST 2011
Le 14 janv. 2011 à 03:48, Mark Wieder a écrit :
> 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.
I've done that once a long time ago, but can't remember
why I stopped going this way....
Didn't find it so ugly at this time :)
More information about the use-livecode