Promotic

IsEmpty - function of language VBScript

Description:
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).
Syntax:
Boolean IsEmpty(Variant expression)
Parameters:
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.
Example:
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.18 SCADA system documentation - MICROSYS, spol. s r.o.

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