MQL4 Reference Language Basics Operations and Expressions Expressions

Expressions

An expression consists of one or more operands and operation symbols. An expression can be written in several lines.

Examples:

a++; b = 10;         // several expressions are located in one line
//---  one expression is divided into several lines
x = (y * z) /
    (w + 2) + 127;

An expression that ends with a semicolon (;) is an operator.

See also

Precedence Rules