Produced by IDL 6.1
User Documentation

./guide
update.pro

Last modification date:
Thu Jun 2 23:56:08 2005

update

procedure update

Only applicable if the loaded index file has had new rows written to it. This method need not be used (is called internally) when working in online mode: filein, 'filename', /online If line mode is on (!g.line is 1) then this updates the global line io object, otherwise, it sets the global continuum object.

Examples
 ; note that we are NOT in online mode
 >filein, 'filename'
 ; immediatly display contents before online index file has changed
 >list
 ; call update before anything has changed
 > update
 >'Online index file has not changed'
 >list
 ; here you see the original contents of 'filename'
 ; now wait for end of next scan
 >update
 >"Online index file has 96 new lines."
 >list
 ; followed by all the contents, including last scan, of 'filename'
 ; NOTE: the same can be done using online mode:
 >filein, 'filename', /online
 ; display before end of next scan
 >list
 >'Online index file has not changed'
 ; followed by original contents
 ; wait for end of next scan
 >list
 >'Online index file has 96 new lines."
 ; followed by original + last scan contents
 
Version
$Id: update.pro,v 1.4 2005/05/30 04:03:43 bgarwood Exp $


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:51 2005