Development Environment |
Cut, Copy, Paste, and Delete in the Array Editor
You can cut or copy selected elements, rows, and columns in an array and paste them to another position in that or another open array. To select a column or row, click in the row or column heading (the element that shows the row or column number). Shift+click to choose contiguous elements, rows, or columns in the array, or Ctrl+A to select all elements. For the cut, copy, and paste operations, use the Edit menu, the context menu, or the toolbar buttons.
When you cut elements, the value of each element you cut becomes 0. After cutting, select the elements whose value you want to replace with the cut elements and then choose Paste. If the shape of the elements you cut differs from the shape of the elements into which you are pasting, the Array Editor pastes all the elements, either by expanding the selection to be pasted into, or by expanding the array size to allow all the elements to be pasted. Pasting copied elements is the same as pasting cut elements, but the elements copied maintain their value rather than becoming 0.
Changing Array Size and Content of Elements in the Array Editor | Example Copying and Pasting Array Elements |