Skip to content

FORMAT DELETE

Remove Format from Memory

This directive removes a selected format or all formats and it releases the memory allocated to the format(s) INCLUDEd.

FORMAT DELETE format-name [,ERR=line-ref|,ERC=error-code]
FORMAT DELETE ALL [,ERR=line-ref|,ERC=error-code]
format-name
is the name of a format defined in the data dictionary.
line-ref
is the program line number or label to branch to if an error is produced.
error-code
is a programmer-defined error code. Valid values are positive or negative whole numbers.

An attempt to delete a format that has not been INCLUDEd by the current program results in an ERR=162.

An attempt to delete a format that has been softly INCLUDEd results in an ERR=170.

FORMAT DELETE #DNFFMT

deletes the format named “DNFFMT”.

FORMAT DELETE ALL

deletes all formats currently INCLUDEd.

FORMAT DEFAULT, FORMAT INCLUDE, and FORMAT INIT directives

From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF