Click or drag to resize

Empty Function

Determine if the result of an expression is empty.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.5
Syntax
 FUNCTION Empty(
	uValue AS USUAL
) AS LOGIC

Parameters

uValue
Type: Usual
An expression of any data type.
The criteria for determining whether a value is considered empty depends on the data type of <uValue>, according to the following rules:
Data TypeContents
ArrayNULL_ARRAY or empty array
Code blockNULL_CODEBLOCK
DateNULL_DATE
LogicFALSE
NILNIL
VOIDTRUE
Numeric0
ObjectNULL_OBJECT
PSZNULL_PSZ
PTRNULL_PTR
StringSpaces, tabs, carriage return/line feed, or NULL_STRING
SymbolNULL_SYMBOL

Return Value

Type: Boolean
TRUE if the expression results in an empty value; otherwise, FALSE.
See Also