About variable.

Thomas McGrath III 3mcgrath at adelphia.net
Thu Mar 31 13:55:48 EST 2005


The variable watcher works with globals and locals but not with custom 
props. Now if I had a multi custom prop viewer (not the inspector 
single view upon selection type) that also worked with globals and 
variables.

Tom

On Mar 31, 2005, at 1:18 PM, Frank D. Engel, Jr. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> When would you have to use a global variable, in so far as something 
> cannot be accomplished with a custom property?
>
> On Mar 31, 2005, at 12:41 PM, Mark Wieder wrote:
>
>> Mikey-
>>
>> Thursday, March 31, 2005, 6:00:06 AM, you wrote:
>>
>> M> The thing about "globals" in rev is that they're not really 
>> "globals"
>> M> but, in old basic parlance "commons".  If it was "global" you would
>> M> define it as global and it would be everywhere in Rev without 
>> further
>> M> "global" statements inside objects.
>>
>> That's exactly right. There's been quite a bit of discussion of
>> globals here over the last couple of years. Basically declaring a
>> variable as "global" flags it as a candidate for being used in other
>> scripts. Then declaring the variable a global in a second script
>> references the first instance of the variable. The whole thing is a
>> bit error-prone, if you ask me. I avoid globals whenever I can, but
>> sometimes you gotta use them.
>>
>> -- 
>> -Mark Wieder
>>  mwieder at ahsoftware.net
>>
>> _______________________________________________
>> 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)
>
> iD8DBQFCTD8H7aqtWrR9cZoRAtzlAJ4jzf5Uv+kTNtO1+ozUXMNam218RgCfR4J5
> s8N+B1W0Il5Pgny1YqWpc2s=
> =lBo/
> -----END PGP SIGNATURE-----
>
>
>
> ___________________________________________________________
> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer
> 10 Personalized POP and Web E-mail Accounts, and much more.
> Signup at www.doteasy.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list