Show/Hide Toolbars

XSharp

X# uses the following NULL literals. They indicate the absense of a value.

Some of these literals require the runtime.

 

Value

Description

Requires Runtime

NULL

"Multi purpose" NULL. Can be used for OBJECT type and Pointer types.

N

NULL_ARRAY

Null reference to the xBase ARRAY type

Y

NULL_CODEBLOCK

Null reference to the xBase CODEBLOCK type

Y

NULL_DATE

Empty date (0000-00-00)

Y

NULL_OBJECT

Null reference to an OBJECT value

N

NULL_PSZ

Null PSZ value

Y

NULL_PTR

Null PTR value

N

NULL_STRING

Null reference to a string. When the compiler option /vo2 is used then this will become the equivalent of String.Empty

N

NULL_SYMBOL

NULL reference to the xBase SYMBOL type

Y

.NULL.

This FoxPro literal null is translated to a NULL reference

N