Hello ; I want to say in AFL code something like

"If   this stock belongs to this folder  (one industries – folders)
then …."

For the instant I try to spy my variables in the "interpretation
windows" . 
In fact the information that I try to exploit are in the "Information
windows" .
I want to catch and use these information in a AFL code …

For the instant I have done something like this

number  = CategoryFind ("CAC OIL & GAS PR.", categoryIndustry );
number = CategoryFind("CAC CONSTR. & MAT." , categoryIndustry );
number = CategoryFind("CAC AERO. & DEF." , categoryIndustry );
   
if (number = 0 OR number = 1 OR number = 2) 

{sectorname = CategoryGetName(categoryIndustry,number);
stockname = Name();

"the stock's name is " + stockname + "the sector's name is  " +
sectorname + "number's sector is "  + number ;  
}
 else

"nothing" ;

The stock's name is different each time I choose another Stock  with
my mouse .
But I want that if  I choose another folder with my mouse then the
folder's name will change too . For the instant with this AFL code I
see nothing in my "interpretation windows"

Reply via email to