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