Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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