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.08
Syntax
 FUNCTION Empty(
	uValue AS USUAL
) AS LOGIC
View Source

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 Type Contents
Array NULL_ARRAY or empty array
Code block NULL_CODEBLOCK
Date NULL_DATE
Logic FALSE
NIL NIL
VOID TRUE
Numeric 0
Object NULL_OBJECT
PSZ NULL_PSZ
PTR NULL_PTR
String Spaces, tabs, carriage return/line feed, or NULL_STRING
Symbol NULL_SYMBOL

Return Value

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