webCOMAND

#EXISTS

Check to see if a variable exists.  If the specified variable exists, return TRUE otherwise FALSE.

Prototype

#EXISTS($Variable)

Parameters

  • Variable - variable to check the existence of.

Example

#EXISTS($Variable) #/ will return FALSE
#ASSIGN($Variable,1)
#EXISTS($Variable) #/ will return TRUE

Result

false
true

Related

UNDEFINED