SYMBOL.PTR real-valued function SYMBOL.PTR real-valued function Syntax SYMBOL.PTR (string, type ) Function Determine the value of a pointer to a user symbol in eV+ memory. Usage Considerations The value returned by the function is meaningful only to the CALLP instruction and the $SYMBOL string function. Parameters string String constant, variable, or expression that defines the symbol to be referenced. type Optional real value, variable, or expression that specifies the type of symbol to be referenced. Currently the only value supported is zero, which specifies that the string parameter defines a program name. The value zero applies if the parameter is omitted.
Details The SYMBOL.PTR function can be used to obtain a pointer to a user symbol (that is, a program or variable name) in eV+ memory. Such a pointer can then be used elsewhere in the program by the CALLP instruction and the $SYMBOL function. Refer to the descriptions of those keywords for more information. The function returns the value zero if the specified symbol is not defined. Example Refer to the dictionary page for the CALLP instruction. Related Keywords CALLP program instruction $SYMBOL string function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 518