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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Matrix.DataType

Queries data type of a value.

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

Parameters

Parameter Description Example
MatrixRef The matrix reference number. $matrix
Row The row number from 0 to Archive.Height-1. $row
Column The column number from 0 to Archive.Width-1. $col

Result

Returns text or error.

Description

Queries data type of a value.
Returns text, date, number, time, timestamp, boolean, container or invalid.

Examples

Check data type:

Set Variable [ $matrix ; Value: MBS("Matrix.New";3;3) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetColumn"; $matrix; 0;"Hello¶Time¶left" ) ]
Show Custom Dialog [ "Datatypes" ; "Hello: " & MBS("Matrix.DataType"; $matrix; 0; 0 ) ]

See also

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


Matrix.CopyRow - Matrix.Evaluate

Feedback: Report problem or ask question.