Yes, 30 rows is a default number used by Origin. As HelgeSteen says, when you click the 'New Worksheet' button on the Standard Toolbar, an Origin worksheet opens with 30 rows. As Mike says, you need to use the get and set commands. When columns in a worksheet are not filled with data, the get datasetName -e end command will set the variable, end, to 0. By using the set datasetName -e 50 command, you will fill the dataset with 50 rows of missing values. (You can think of this as 50 placeholders.) This is also what HelgeSteen does when he uses the notation, %H_B = % H_A/0;
In other words, you want to first set the number of rows available before copying data into the column. And you do this with the set command.
For example:
If you wanted to copy rows 10-50 of data1_a to data2_a, then you would use the following script:
set data2_a -e 41;
copy -b 10 data1_a data2_a -b 1 -e 41;
-----------------
Laurie A. Shea
Microcal Technical Support