CATEGORYFIND
- search for category by name
|
Information / Categories
(AFL 3.0) |
| SYNTAX |
CategoryFind( ''name'', category ) |
| RETURNS |
NUMBER |
| FUNCTION |
It allows to search for category by name. It takes category name and kind as parameters and returns INDEX (ordinal number). For example it allows to find watch list index by name.
The index (in the example below watch list number) can be later used in functions thatneed the index (like CategoryGetSymbols).
|
| EXAMPLE |
wlnumber = CategoryFind("MyWatch
List 1", categoryWatchlist );
mysymbols = CategoryGetSymbols(categoryWatchlist,
wlnumber ); |
| SEE ALSO |
CategoryAddSymbol() function , CategoryGetName() function , CategoryGetSymbols() function , CategoryRemoveSymbol() function |
References:
The CategoryFind function is used in the following formulas
in AFL on-line library:
|