Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsEmpty - function of language VBScript

Description:
Returns a boolean value indicating whether a variable has been initialized.

In the PROMOTIC system it is better to use the method: Pm.IsValid.

Syntax:
IsEmpty(expression As Variant) As Boolean
Calling:
b = IsEmpty(expression)
Parameters:
expression(Variant) Any valid expression. However, because function is used to determine if individual variables are initialized, the expression argument 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:
Dim Var, bCheck
bCheck = IsEmpty(Var) ' Returns true
Var = Null
bCheck = IsEmpty(Var) ' Returns false
Var = Empty
bCheck = IsEmpty(Var) ' Returns true
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice