Topic: APLX Help : System Classes : Methods : Insertrows
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'Insertrows' method


Argument: Integer vector
Result: None

Valid for: Grid

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


Topic: APLX Help : System Classes : Methods : Insertrows
[ Previous | Next | Contents | Index | APL Home ]