Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Adds a row to the matrix.

Component Version macOS Windows Linux Server iOS SDK
Matrix 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Matrix.AddRow"; MatrixRef )   More


Parameter Description Example
MatrixRef The matrix reference number. $matrix


Returns OK or error.


Adds a row to the matrix.
Use Matrix.New or Matrix.NewWithSQL to create the matrix object before adding something to it.


Add row and set values:

Set Variable [ $r ; Value: MBS( “Matrix.AddRow";$matrix) ]
Set Variable [ $row ; Value: MBS( “Matrix.Height";$matrix) - 1 ]
Set Variable [ $r ; Value: MBS( "Matrix.SetRow"; $matrix; $row; "98¶43¶12¶69" ) ]

See also

Blog Entries

This function checks for a license.

Created 8th April 2019, last changed 7th April 2022

Matrix.AddColumns - Matrix.AddRows