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.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Resizes matrix to given height and width.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Matrix | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MatrixRef | The matrix reference number. | $matrix |
Height | The height of the matrix. | 3 |
Width | The width of the matrix. | 4 |
Returns OK or error.
Try resize:
Set Variable [ $matrix ; Value: MBS( "Matrix.New"; 3; 4 ) ]
Set Variable [ $r ; Value: MBS( "Matrix.Resize"; $matrix; 7; 8 ) ]
Show Custom Dialog [ "Size" ; MBS( "Matrix.Width"; $matrix ) & " x " & MBS( "Matrix.Height"; $matrix ) ]
Set Variable [ $r ; Value: MBS( "Matrix.Release"; $matrix ) ]
Resizes a matrix:
Set Variable [ $r; Value: MBS( "Matrix.Resize"; $matrix; 3; 4 ) ]
Created 8th April 2019, last changed 2nd November 2020
Matrix.RemoveRow - Matrix.SetColumn
Feedback: Report problem or ask question.