IsEmpty - function of language VBScript

Returns a boolean value indicating 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 values:
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.15 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice