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

15.5.407 openr

openr, lun, file [, /get_lun]

openr( lun, file [, /get_lun])

Opens file (a string) on logical unit number lun for reading. The /get_lun switch instructs LUX to find and use the next free logical unit and to return the found unit number in lun. The function form returns 1 when successful, 0 otherwise.

See also: openw, openu, close, printf, assoc, rewind