DataBasic Reference > Statements and Intrinsic Functions > Special Methods > %Null

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

%Null Special Method (databasic_sp_method_null.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

%Null Special Method

This method is used with a connection object to create a reference to a null object.

Syntax

%Null()

Examples

Cell->setBackgroundColor(%Null())

Call the setBackgroundColor method passing a null object reference.

Notes

The above statement is equivalent to the Java syntax:

Cell.setBackgroundColor(null)

An alternative to %Null() is to use the object cast on numeric zero - (object)0.

See Also

Special Methods

RealityV15.1 (MoTW) Revision 7Comment on this topic