Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IsEmpty

  • Last UpdatedJul 18, 2023
  • 1 minute read

Determines if a variant parameter has been initialised.

The required Expargument is a variant containing a numeric or string expression. However, because IsEmpty is used to determine if individual variables are initialised, the Expargument is most often a single variable name.

IsEmpty returns True if the variable is un-initialised, or is explicitly set to Empty; otherwise, it returns False. False is returned if Expcontains more than one variable.

Note: IsEmpty only returns meaningful information for variants.

Syntax

IsEmpty(Exp)

Exp

A valid string, number or Variant containing a value recognizable as a string or number.

Returns a Boolean True or False.

IsDate | IsNull | IsNumeric | VarType

Example

Dim x ' Empty
x = 5 ' Not Empty - Long
x = Empty ' Empty
y = x ' Both Empty
MsgBox "x" & " IsEmpty: " & IsEmpty(x)

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in