8.17 WRITE

WRITE
        OUTFILE=’file_name’
        RECORDS=n_lines
        {NOTABLE,TABLE}
        /[line_no] argarg takes one of the following forms:
        ’string’ [start-end]
        var_list start-end [type_spec]
        var_list (fortran_spec)
        var_list *

WRITE writes text or binary data to an output file.

See PRINT, for more information on syntax and usage. PRINT and WRITE differ in only a few ways: