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.AddColumns

Adds columns to a matrix.

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

Parameters

Parameter Description Example Flags
MatrixRef The matrix reference number. $matrix
Count The number of columns to add.
Default is 1.
2 Optional

Result

Returns OK or error.

Description

Adds columns to a matrix.

Examples

Add columns and set values:

Set Variable [ $r ; Value: MBS( "Matrix.AddColumns"; $matrix) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetColumn"; $matrix; 3; "2¶4¶12" ) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetColumn"; $matrix; 4; “6¶8¶39" ) ]

See also

Blog Entries

Created 8th April 2019, last changed 17th December 2019


Matrix.AddColumn - Matrix.AddRow

Feedback: Report problem or ask question.




Links
MBS Xojo blog

Start Chat