>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  RDFILE

RDFILE

RDFILE

Name


      RDFILE

Purpose


      Read lines from a text file.

Category


Calling Sequence


      rdfile, file, rec1, rec2, out

Inputs


      file = name of text file. in
      rec1, rec2 = file records to read. in
        First record is number 1.
        To read to end of file set rec2 to a large value.

Keyword Parameters


Keywords


        ERR = e. Error flag. 0=ok, 1=file not opened.

Outputs


      out = string array of selected records. out
        Out is always an array, even for one line.

Common Blocks


Notes


Modification History


      R. Sterner, 2 Jan, 1989.
  Copyright (C) 1989, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us