Re: group id exists but yet not . . .

2015-01-05 Thread J. Landman Gay
On 1/4/2015 7:20 PM, Dr. Hawkins wrote: What's confusing me here is not whether or not it*should* work (which is its own set of issues), but that there is a difference between these two. They were: put exists(group id 1004 of group id of card id 1016 of stack "nv") && exists(group id 1

Re: group id exists but yet not . . .

2015-01-04 Thread Dr. Hawkins
On Sun, Jan 4, 2015 at 4:14 PM, J. Landman Gay wrote: > It's been that way since I can remember. If the group is placed on the > current card, you can refer to it as "group", otherwise you need to use > "background". This applies even to closed stacks, so maybe when it worked > for you before, th

Re: group id exists but yet not . . .

2015-01-04 Thread J. Landman Gay
On 1/4/2015 5:38 PM, Dr. Hawkins wrote: The background token will give what you want no matter what, but if the >group is not placed on the current card, "group xxx" will not. > I've always been able to access them before. It's been that way since I can remember. If the group is placed on the

Re: group id exists but yet not . . .

2015-01-04 Thread Dr. Hawkins
On Sun, Jan 4, 2015 at 2:41 PM, Peter M. Brigham wrote: > Just occurred to me, if the group is not placed on the card the handler is > called from, this might be the problem. > Same card? I'm not even calling from the same stack :) I have a routine to assemble properties, phrases, and the like

Re: group id exists but yet not . . .

2015-01-04 Thread Scott Rossi
OK, I¹m mistaken, exists should find the group even when not on the current card. When the group reference is combined with the stack reference, it works. It also works as the following, which makes sense. put exists(grp id 1006 of this stack) Regards, Scott Rossi Creative Director Tactile

Re: group id exists but yet not . . .

2015-01-04 Thread Scott Rossi
Is the group on the current (visible) card? If not, then exists will be false. Otherwise, the id is enough when the group is present on the current card. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 1/4/15, 2:11 PM, "Dr. Hawkins" wrote: >put exists(group id 1004 o

Re: group id exists but yet not . . .

2015-01-04 Thread Peter M. Brigham
On Jan 4, 2015, at 5:11 PM, Dr. Hawkins wrote: > put exists(group id 1004 of group id of card id 1016 of stack "nv") && > exists(group id 1004 of stack "nv") > > yields > > true false > > Huh? > > Isn't the id and stack unique and sufficient? Just occurred to me, if the group is not pl

Re: group id exists but yet not . . .

2015-01-04 Thread Peter M. Brigham
On Jan 4, 2015, at 5:11 PM, Dr. Hawkins wrote: > put exists(group id 1004 of group id of card id 1016 of stack "nv") && > exists(group id 1004 of stack "nv") > > yields > > true false > > Huh? > > Isn't the id and stack unique and sufficient? Doing the equivalent on a control in one of

group id exists but yet not . . .

2015-01-04 Thread Dr. Hawkins
put exists(group id 1004 of group id of card id 1016 of stack "nv") && exists(group id 1004 of stack "nv") yields true false Huh? Isn't the id and stack unique and sufficient? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode ma