CMatrix:RemoveRow
The RemoveRow method removes the CMatrix row at index n.
CMatrix:RemoveRow( n ) |
This method removes all columns data in the row as well as the row itself. This decreases by 1 the row count returned by Count.
The following script fragment removes the row at index n = 100:
|
-- create a CMatrix object |
|
-- set member in row 1 |
|
-- set member in row 2 |
|
-- set member in row 2 |
|
-- set member in row 2 |
|
-- set member in row 10 |
|
-- result: Members = 5 |
|
-- remove the row at index 2 |
|
-- result: Members = 2 |