Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


8.9.1 IsEmpty (check whether a variable is an Empty value)

Purpose

Checks whether a variable is an Empty value and returns True or False.

Syntax
IsEmpty (VarName)
Argument
VarName

Specify a variable to evaluate.

Description

The IsEmpty command checks whether the specified variable is an Empty value. The command returns True if the value is Empty, or False if not.

False is always returned if you specify an undefined variable.

Example
' Check whether the value of the _ALLRIGHT_ reserved
' variable is Empty.
If IsEmpty(_ALLRIGHT_) Then
MessageBox("Log in again using an account with _
            Administrator rights.")
End If
JP1/Script version

Supported from JP1/Script 01-00.