> >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: >
Well, I don't find custom properties are very convenient for storing arrays. Is everyone else using custom property sets for this ? I tried that but I got confused even with quite small arrays. When I re-read my own scripts I couldn't understand them anymore (and I have enough trouble with that as it is;-). Also, if I remember correctly, you sometimes have to put a custom property into a variable in order to modify a chunk successfully (and then put it back), since it can't be done directly, is that right? I seem to recall some issue of that sort. Martin Baxter >> 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 >> [EMAIL PROTECTED] >> >> _______________________________________________ >> use-revolution mailing list >> [email protected] >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >- ----------------------------------------------------------- >Frank D. Engel, Jr. <[EMAIL PROTECTED]> > >$ 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 >[email protected] >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
