Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  

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.

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

Created 8th April 2019, last changed 4th August 2021


Matrix.AddColumns - Matrix.AddRows

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos

Start Chat