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

Matrix.AddRow

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

Parameters

Parameter Description Example
MatrixRef The matrix reference number. $matrix

Result

Returns OK or error.

Description

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

Examples

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