Source: hsio/read_lanfile.pro
READ_LANFILE Read data from a file. Usage: read_lanfile, findex, data, nread, nact, nfile Arguments: findex Long input Index of file, as returned by open_lanfile data Byte output Array with data. nread Long input Maximum number of bytes to read to "data" nact Long output Number of bytes read to "data" nfile Long output Number of bytes read from file (<0 if error) History: IDL version (after C) 25/11/03: SJT