Is this a bug?
Ken Ray
kray at sonsothunder.com
Sat Jan 20 15:46:53 EST 2007
On Sat, 20 Jan 2007 12:23:16 -0800, Mark Wieder wrote:
> Chipp-
>
> Saturday, January 20, 2007, 6:57:21 AM, you wrote:
>
>> 'avoid time wasting confusion', then why even allow controls or
>> objects with
>> the same name?
>
> Yep - this has bothered me for a long time, too. I'd certainly support
> a referendum to disallow objects with the same name, but I'm afraid it
> would break backward compatibility. VB supports object instancing in
> the form of group "America"[2], but I don't care much for the syntax.
Maybe if there was an "instance" property of an object, so you could do:
put the number of instances of group "America"
put 10 into field 1 of instance 1 of group "America"
put the long id of instance 2 of group "America" into tID
(etc.)
Just a thought...
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list