EXISTS ( String  VAR,
Qualifier  PROC 
)

Check if a global variable of a given name exists.

Note that you cannot type EXISTS:VAR("w1.x") as w1.x is not a variable. Instead you need to split the operation into two parts and use EXISTS("w1") to check for the workspace and FIELD_PRESENT("w1","x") to check for the workspace field.

Parameters:
VAR Object name to check
PROC Treat name as a PROCEDURE name rather than a variable name
Returns:
Boolean $TRUE or $FALSE
See also:
FIELD_PRESENT
 All Files Functions Typedefs

Generated on 9 May 2010 for Open GENIE GCL by  doxygen 1.6.1