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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Matrix.Clear

Clears the matrix.

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

Parameters

Parameter Description Example
MatrixRef The matrix reference number. $matrix

Result

Returns OK or error.

Description

Clears the matrix.
Removes all values from it and sets size to 0/0.

Examples

Clear and check:

Set Variable [ $r ; Value: MBS("Matrix.Clear"; $matrix) ]
// After this step the width and height of the matrix are 0
Show Custom Dialog [ "Matrix Height" ; MBS("Matrix.Height";$matrix) &"="& MBS("Matrix.Width";$matrix) ]

See also

This function checks for a license.

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


Matrix.CSVSplit - Matrix.ClearValues

💬 Ask a question or report a problem