Produced by IDL 6.1
User Documentation

./guide
move.pro

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

move

procedure move, from_index, to_index

Move the data from the from_index location to the to_index location. Anything in to_index is lost. This uses the value of !g.line. If it is set (1) then the array of line data (!g.s) is used, otherwise the array of continuum data (!g.c) is used. The contents of from_index are emptied and lost.

Examples
Move the contents of location 0 to location 10. Then move the contents of 9 to location 0.
    copy, 0, 10
    copy, 9, 0
 
Uses
copy
Version
$Id: move.pro,v 1.5 2005/05/10 15:11:58 bgarwood Exp $

Parameters
from_index
in, required
integer
The index to move values from.
to_index
in, required
integer
The index to move the values to.


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