Category
General-Purpose Functions
Description
Find the number of a given symbol, and/or allow dynamic external symbol usage
Syntax
SymRef(symbol)
Parameters
symbol - any formula returning a string or a number
Return Value
The current symbol number of the specified symbol, or 0 if not found
Notes
If the current symbol is MSFT, then $MSFT, Symbol, SymRef(Symbol), SymRef(?Symbol), and SymRef("MSFT") will each return the same number.
SymRef can also be used as the first argument to Extern, for cases where you need to dynamically refer to other symbols.
|