ProductName  

Swaps two matrix columns or rows.

Syntax

MatrixObject.SwapCols(Col1, Col2)
MatrixObject.SwapRows(Row1, Row2)

Parameters

Col1, Col2
Long values indicating the columns to swap.
Row1, Row2
Long values indicating the rows to swap.

Error Codes

Error 1320 is returned if any of Col1, Col2 parameters exceed matrix size.

Error 1319 is returned if any of Row1, Row2 parameters exceed matrix size.

See Also

Applies To: Matrix | CMatrix