# B.9 Alternative Syntax for the DELETE Statement

In Compaq Fortran, you can specify the following form of the DELETE statement when deleting records from a relative file:

  DELETE (io-unit'r [, ERR=label] [, IOSTAT=i-var])
  io-unit
  Is the number of the logical unit containing the record to be deleted.
  r
  Is the positional number of the record to be deleted.
  label
  Is the label of an executable statement that receives control if an error condition occurs.
  i-var
  Is a scalar integer variable that is defined as a positive integer if an error occurs and zero if no error occurs.

This form deletes the direct access record specified by r.

For More Information:

For details on the DELETE statement for OpenVMS systems, see Section 12.3; for Tru64 UNIX, Linux, and Windows systems, see Section 13.3.

Previous Page Next Page Table of Contents