Name: groptx Purpose: open input/output text file [Unix] Category: GRAPHICS File: pgplot.src Author: T.J. Pearson Use: see description below. Description: INTEGER FUNCTION GROPTX (UNIT, NAME, DEFNAM, MODE) INTEGER UNIT, MODE CHARACTER*(*) NAME, DEFNAM Input: UNIT : Fortran unit number to use NAME : name of file to create DEFNAM : default file name (used to fill in missing fields for VMS) MODE : 0 to open for reading, 1 to open for writing. Returns: 0 => success; any other value => error. Updates: Oct 16, 1998: JPT automatically extracted from source.