> 
> 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.
3.  The declaration must be executed to take effect.  Its not enough 
that it appear in the file as PowerPro does not do any type of 
compilation or prescanning.  You should declare statics at every 
entry point or call at initialize entry point to declare them.
4.  For statics, the same memory is used whenever it is referenced 
in the script and once the static is declared, it will be used at 
any entry point.  For locals, each time the script is entered at a 
new entry point, the local must be declared and different memory is 
used.








------------------------ 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/
 



Reply via email to