Some thoughts on duck typing
Thierry
th.douez at sunnyrevtalk.com
Mon Jan 17 05:26:26 EST 2011
Le 14 janv. 2011 à 03:48, Mark Wieder a écrit :
> 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.
Hi Mark,
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 :)
Regards,
Thierry
More information about the use-livecode
mailing list