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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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 Matrix.Height-1. $row
Column The column number from 0 to Matrix.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

This function checks for a license.

Created 8th April 2019, last changed 7th April 2022


Matrix.CopyRow - Matrix.Evaluate

💬 Ask a question or report a problem