Update cookies preferences

IsEmpty - function of language VBScript

Returns a boolean value - specifies whether a variable has been initialized.
In the PROMOTIC system it is better to use the Pm.IsValid method (or Pm.GetVarType).
Boolean IsEmpty(Variant expression)
expression(Variant) Any valid expression. However, because function is used to determine if individual variables are initialized, the expression parameter is most often a single variable name.
Return value:
true - If the variable is uninitialized, or is explicitly set to Empty.
false - Otherwise. false is always returned, if expression contains more than one variable.
VBScriptSelect and copy to clipboard

Dim Val, bCheck
bCheck = IsEmpty(Val)   ' Returns true
Val = Null
bCheck = IsEmpty(Val)   ' Returns false
Val = Empty
bCheck = IsEmpty(Val)   ' Returns true
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.