[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Static Variables



PureBytes Links

Trading Reference Links




I am having a hard time using static 
variables....
 
Sometimes they work as expected ... sometimes they 
don't ... so my expectation must obviously be questionable.
 
I am assuming Static variables can be used anywhere 
that normal Number and String variables can be used! 
 
- in assignments: 
StaticVarSet("Var",Value);
- in If Statements: if (StaticVarGet("Var") == 
Value) ....
- in iif Statement: Test = iif(StaticVarGet("Var") 
==Value,True,False);
 
Is my assumption correct?
 
Thanks
 
Ara


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.