--- "brucexs" <[EMAIL PROTECTED]> wrote: > > > > > Oops, I think I made a mistake here, i.e., it seems that > > static/local precedes global. > > > > global test1="global1" > > local test1="local1" > > local test2="local2" > > global test2="global2" > > > > Correct (or at least that is how I tried to implement it). > > 1. Priority is local, static , global once declarations are > executed. I recommend avoiding local and static with same > name. > 2. You cannot declare static if local already exists.
If I understand the meaning of "declare" correctly here, the above seems to be half correct. ------------------test.powerpro----------------------------- @1 local test="local" win.debug(test) static test="static" win.debug(test) global test="global" win.debug(test) win.debug(allglobals,allstatics) quit @2 win.debug(test) test="test" win.debug(allglobals,allstatics) quit ------------------------------------------------------------ [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
