Produced by IDL 7.1.1
Developer Documentation

./guide
update.pro

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

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$


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