| SectorID |  Information / Categories | 
| SYNTAX | SectorID( mode = 0 ) | 
| RETURNS | NUMBER/STRING | 
| FUNCTION | Retrieves current stock sector ID/name
      When mode = 0 (the default value ) this function returns numerical sector 
        ID (consecutive sector number) When mode = 1 this function returns name of the sector. | 
| EXAMPLE | Filter = SectorID() == 7 OR SectorID() == 9; AddTextColumn( SectorID( 1 ), "Sector name" ); | 
| SEE ALSO | 
The SectorID function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.