To add rows, send an Add Rows message and specify how many rows. You can also specify after which row to insert the new rows. The arguments can either be numbers or expressions that evaluate to numbers.
A variation of Add Rows lets you specify an argument yielding a list of assignments. Assignments can be separated with commas or semicolons.
dt << Add Rows(
dt << Add Rows(
You can send several arguments yielding lists, or even a list of lists. The following script creates a data table with Add Rows commands of each variety:
dt << Add Rows(
); // list of lists