boolean IsExistingVar( String sVarName )
If a variable with the specified name exists in the DataObject, the return value is true. Otherwise, the return value is false.
String sVarName
A variable name.
Use this method to determine whether a variable with the specified name exists in the DataObject.
declare DataObject dobj;
dobj = DataObject.CreateFromFile( "baseball" );
if dobj.IsExistingVar( "salary" ) then
print "Variable exists";
else
print "Variable does not exist";