Is this a bug?

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Jan 20 09:24:48 EST 2007


Chipp,

No, this is not a bug. Revolution takes the first group with the name  
"America" it finds and that's how it should be IMHO. This is a gentle  
way to force the programmer to structure his/her work and avoids time  
wasting confusion.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 20-jan-2007, om 15:17 heeft Chipp Walters het volgende geschreven:

> Exists function:
>
> Create 2 buttons:
>
> Name the first one "taxes"
> Name the second one "UFOs"
>
> Group each button independantly and set the name of each group to  
> "America"
> Now you have 2 groups, each named "America", each with a  
> differently named
> button within.
>
> Now, try the following in the msg box:
>
> put exists(button "taxes" in group "America")
> returns 'true'
>
> put exists(button "UFOs" in group "America")
> returns 'false'
>
> Furthermore, this statement no longer works either:
> edit script of button "UFOs" in group "America"
>
> Seems like this should work.





More information about the use-livecode mailing list