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

15.5.531 scanf

scanf, lun, format, arg1 [, arg2 …] [, /countspaces]

scanf(lun, format, arg1 [, arg2 …] [, /countspaces])

Reads arguments from the file on logical unit lun under guidance of format string format. The target arguments must be either named variables, or subscripted named variables. If /countspaces is specified then whitespace counts against field width. The function form returns the number of successfully converted arguments.

Alias: freadf

See also: !read_count, Input Data Formats, readf