Innov-AI     Services     Supporters     Contact     About    
Data Type

Here you can see all data types in the MQL language.

numericstringnull[_n_][_r_]variablebooleanjsoncommenterror

numeric


Description

    Numeric type

admin
123
mentdb
123
admin
+ 3 4
mentdb
7

string


Description

    String type

admin
"Hello!"
mentdb
Hello!
admin
concat "Hello " "Adam" "!"
mentdb
Hello Adam!

null


Description

    Null type

admin
null
mentdb
null
admin
is null null;
mentdb
1

[_n_]


Description

    LF

admin
[_n_]
mentdb

[_r_]


Description

    CR

admin
[_r_]
mentdb

variable


Description

    Variable type

admin
-> "[var1]" 16
mentdb
16
admin
env show;
mentdb
{ "[var2]": "16" }

boolean


Description

    Boolean type

admin
true
mentdb
1
admin
false
mentdb
0

json


Description

    JSON type

admin
json load "keyId" "{}";
mentdb
1
admin
json doc "keyId";
mentdb
{}

comment


Description

    Comment type

admin
#This is a comment;
mentdb
This is a comment ...

error


Description

    Error type

admin
exception (1) ("your message ...");
mentdb
1: your message ...




© 2012 - 2023