| 
 I have had some problems with defining globals 
within a function.  
  
Globals defined withing a function are not always 
available to code later on. In one situation, a global defined within a prior 
function and used in an indicator, was not available to some copies of the 
indicator and was available to some others where the indicator was used multiple 
times in same instance, but on different panes. 
  
If I initialize the variable at the beginning 
of the program, it is automatically a global and always works 
reliably. 
  
Anyone with similar issues? 
  
Ara 
  
Please note that this group is for discussion between users only. 
 
To get support from AmiBroker please send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
For other support material please check also: 
http://www.amibroker.com/support.html 
 
  
    
  
  
  
    SPONSORED LINKS
   
       
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
 |