"insertColumn"

Adds a column to a table.

Synopsis

setValue(string shape, "insertColumn", int index);

shape.insertColumn(int index);

Parameters

Parameter Description
shape Name of the object
index Index of the new column. The index number has to be the first free number in the order.

Description

Adds a column to a table. For this column an name is automatically generated the same way the configuration dialog inside of the GEDI automatically generates a name for a new column.

Example

In the following example, a new column will be added to a table. In this example, a column with the number 2 will be added (meaning the third column since the index starts from 0).

main()
{
  TABLE1.insertColumn(2);
}

Assignment

Table