Function IsMemvar() Foundation
Checks if a symbolic name indicates a dynamic memory variable
IsMemvar( <cVarName>, [<nType>] ) --> lExist
The function returns .T. (true) if a dynamic memory variable with the name <cVarName> exists, otherwise it returns .F. (false).
The function IsMemvar() checks if a dynamic memory variable exists. IsMemvar() differs from the function Type() by searching for a symbolic name in the symbol table, while Type() returns the data type of a macro-compiled character expression. IsMemvar() can distinguish if a dynamic memory variable is not declared or if it contains the value NIL. This is not possible with the Type() function.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.