|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide move.pro
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.
copy, 0, 10 copy, 9, 0
Parameters | |
from_index |
The index to move values from. |
to_index |
The index to move the values to. |