Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.252 fprintf

fprintf, lun, format, arg1 [, arg2 …] [, /element]

Print arguments into the file on logical unit lun under guidance of format string format. If there are more arguments than entries in the format string, then the last format entry is repeated as necessary to service all remaining arguments. Arguments are cast to the type appropriate for the corresponding format entry. One format entry is used per argument, unless /element is specified, in which case on format entry per output number is used. This is only of interest for outputting arrays.

See also: Output Data Formats, fprint, print, openw