output

Syntax

OUTPUT LINE

OUTPUT PAGE

OUTPUT SPOOL

OUTPUT SKIP number

Arguments

number: integer

Meaning

Sends the line built up by print instructions to the print file. Following the OUTPUT instruction, the print buffer is cleared.

LINE adds a carriage return to the buffer and adds 1 to the line count (&L).

PAGE adds a form feed, adds 1 to the page count (&S) and resets the line count (&L) to 0.

SPOOL closes the print file and sends it to the printer. After an OUTPUT SPOOL the print file is cleared, and &L and &S are reset to 0.

With SKIP number you can indicate that a number of empty lines are to be printed. Collections will add the entered number to the line count (&L).