finding in script

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Jan 3 16:03:21 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 3, 2005, at 3:21 PM, Jeanne A. E. DeVoto wrote:

> At 12:06 PM -0600 1/3/05, J. Landman Gay wrote:
>> The "number of controls of this stack" isn't a supported command, so 
>> what is happening is that the engine stops at "number of controls" -- 
>> and the default in that case is to use the card as a reference.
>>
>> I suppose it should throw an error, though.
>
> No, I think it does make sense. Something like
>
>    get field "foo" of stack "bar"
>
> means "get the contents of field 'foo' on the current card of stack 
> 'bar'" - the "current card" part is understood when making references 
> to a stack. I think it works the same here - "get the ID of control 2 
> of this stack" would mean "control 2 of the current card", etc.
>
> The real problem here is that you can't get a list of all the groups 
> in a stack any more since backgroundBehavior was introduced. But 
> that's a rant for another day....

Sure, you can!  Check the docs for the "backgroundIDs" and "groupIDs" 
properties (they are not the same thing).

> -- 
> jeanne a. e. devoto ~ revolution at jaedworks.com
> http://www.jaedworks.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- - -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB2bMZ7aqtWrR9cZoRAs30AJ99J9eM5rdfnVvjAZrvKJ5HiBuj2gCgkcaY
jC/MGE7zV0EaIOm+vjA9IgA=
=DIuC
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list