Produced by IDL 7.1.1
User Documentation

./guide
lastrec.pro

Last modification date:
Wed Sep 28 13:27:09 2016

lastrec

function lastrec([/keep])

Returns the record number (index) of the most recently retrieved data container.

In line mode, this is the most recently retrieved record number from the input line file. In continuum mode, this is the most recently retrieved record number from the input continuum file. If the /keep keyword is used, this is the most recently retrieved record number from the output line file (the keep file).

This is -1 if nothing has been retrieved from that data source or if the data source is empty.

If multiple data containers were retrieved in a single call (e.g. using one of the calibration routines such as getfs) then this will be the largest record number in the set of records that were retrieved.

Returns
An integer giving the record number (index) of the last record fetched from the data source. Returns -1 if nothing has been fetched so far from that data source.
Examples
   getps, 6000
   a = lastrec()
 
Version
$Id$

Keywords
keep
in, optional
boolean
If set, returns the record number (index) of the data container most recently retrieved from the output line file (the keep file).


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:35 2016