IsEmpty()


Determine if the result of an expression or variable is empty.

Syntax

IsEmpty(<exp>) --> lEmpty

Arguments

<exp> --> is an expression of any data type.

Returns

IsEmpty() returns TRUE if the expression results in an empty value, otherwise FALSE. The criteria for determining whether a value is considered empty depends on the data type of <exp> according to the these rules:

 

Array

no elements (zero-length)

Character

Spaces, tabs, CR/LF, or ("")

Transaction numbers

Transaction zero returns TRUE, all others FALSE.

Numeric

0 (zero)

Date

Null (CTOD(""))

Logical

FALSE

NIL

NIL

Description

Use the IsEmpty() function to determine if a parameter is unsupplied. For example, in response to a user question on a form. It can also test if arrays have no elements.

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER