Source: hsio/write_lanfile.pro
WRITE_LANFILE
Write data to a file.
Usage:
write_lanfile, findex, data, nwrite, nact, nfile
Arguments:
findex Long input Index of file, as returned by open_lanfile
data Byte input Array with data.
nwrite Long input Number of bytes to write from "data"
nact Long output Number of bytes written from "data"
nfile Long output Number of bytes written to file (<0 if error)
History:
IDL version (after C code): 25/11/03; SJT