EXIST

Syntax: scalar = EXIST(string)

The EXIST function accepts one string as its argument and returns a one (1) if the string is an existing variable name, and zero (0) is it is not.

Example

If you enter X2=3, the function EXIST('X2') would have the value 1.

You can even enter: N=2 and T='X'//RCHAR(N) and the function EXIST(T) would have the value 1.