## The `Insertcols' method

Argument: Integer vector
Result: None

Valid for: Grid

The `Insertcols` method takes an argument which is a vector of positions at which you wish to insert new columns in a Grid object. You can specify integers (for example 5 means 'insert before the current column 5'), or non-integers (for example 4.5 means 'insert between the current columns 4 and 5'). After the insertion, the columns are re-numbered to form an integer sequence starting at 1. Thus, if you insert at 5 and 6, the new columns become numbers 5 and 7. To insert three new columns before the current second one, specify 2 2 2.

Topic: APLX Help : System Classes : Methods : Insertcols

[ Previous | Next | Contents | Index ]