CMatrix:RemoveRow
The RemoveRow method removes the CMatrix row at index n.
CMatrix:RemoveRow( n ) |
n is the index of the row to be removed.
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 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 |
CMatrix class, Remove, Count, Members
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.