Contents Up << >>

Copy

Format: Cop[y] [left, top, right, bottom, new-left, new-top]
The COPY command copies a block of data from one part of the data table to another, and may occasionally be of use when it is necessary to reorganise data. It is designed to be used if the data is not arranged correctly for a particular analysis, for instance if the values in two different columns should actually be in the same column one under the other. Alternatively it may be possible to use the COPY command to merge data sets. For example if some new columns of values are to be added to a data table then it may be possible to edit the data file with a text editor and insert the new columns initially under the original columns in new rows. Then the file can be read in by EASISTAT, and the COPY command used to move the new block of data to the correct position to the right of the original columns.

Example:

Enter command -  copy 1,2,3,4,5,6
This copies a block from the first to third column and the second to fourth row so that the top left corner of the block moves to the fifth column and sixth row (the bottom right corner would be copied to the seventh column and eighth row).

Note that the space must already exist in the table for the block to be copied to, no new rows or columns are created. Additionally the destination block must not overlap the source block. Single rows or columns can be copied by specifying the same value for the top and bottom row, or for the left and right column.