FMEDIA - specify output media code.

Usage:

call fmedia(lgu, media)

Where:

lgu
is the unit number of an output file.
media
is an integer expression which specifies the desired media code. It must be one of 0, 2, 3, 6, or 7. Other values are ignored.

Description:

FMEDIA is used to force a particular output media code for formatted output files. It may be called on for an input file, but doesn't really do anything.

If the file is being opened with OPEN or ATTACH, this must be done before the call to FMEDIA.

See Also:

expl media
for a discussion of the various GFRC media codes.
expl f77 lib fparam
for how to set the media code for unformatted output files.

Copyright © 1996, Thinkage Ltd.