Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

NULL

Performs no operation, used in a clause.

Synopsis

NULL

Arguments

The NULL statement takes no arguments.

Description

The NULL statement performs no operation. It is used to indicate in an optional clause that no operation is to be performed when that clause is executed. It can be used within a THEN clause, an ELSE clause, or an ON ERROR clause. It is most commonly used in a THEN clause. For example:

WRITE mydata TO filevar,recID
   THEN NULL
   ELSE GOTO write_error
PRINT "All done"

NULL transfers control to the statement immediately following the THEN...ELSE construction.

See Also

FeedbackOpens in a new tab