lfor

command list , class list , introduction .
 LFOR FILE N1 N2 MODE -- Loads foreign MOLLY format spectra (i.e. written 
                      under different operating systems). This is done by
                      reading the file in byte by byte followed by appropriate
                      byte swapping operations and therefore can be slow.
                      Once you have read the data, dump it out into a local
                      format file with WRITE. The file could have been
                      ftp-ed over in binary mode or retrieved from a backup
                      or tar tape.

 Parameters: 
     
   FILE   -- Name of file to read from.
   N1     -- Slot number to read first spectrum into. 'A' to indicate that
             the first spectrum is loaded into the first empty slot (but be
             careful!)
   N2     -- Slot number to read last spectrum into.  If you have used option
             'A' then N2 = number of spectra to load

   MODE   -- 1 = VMS         ---> ULTRIX, OSF (Decstations, alphas)
             2 = ULTRIX, OSF ---> SUN (Solaris, maybe SUNos)
                 and SUN     ---> ULTRIX, OSF
             3 = VMS         ---> SUN (Solaris, maybe SUNos)

 NB Option 2 only involves swapping bytes and is reversible.

This command belongs to the classes: input .


Tom Marsh, trm@astro.soton.ac.uk, Tue Oct 27 08:56:34 1998 .