Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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