Files
mql5-skills/skills/mql5/references/docs/00-basis/0036-basis-operators-expression.md
T
2026-06-23 21:47:51 +08:00

34 lines
814 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Expression Operator
Any expression followed by a semicolon (;) is the operator. Here are some examples of expression operators.
## Assignment Operator
Identifier = expression;
```
  x=3;
  y=x=3; 
  bool equal=(x==y);
```
Assignment operator can be used many times in an expression. In this case, the expression is processed from right to left.
Function Calling Operator
Function_name (argument1,..., argumentN);
```
  FileClose(file);
```
## Empty Operator
Consists only of a semicolon (;) and is used to denote an empty body of a control operator.
See also
[Initialization of Variables](/en/docs/basis/variables/initialization), [Visibility Scope and Lifetime of Variables](/en/docs/basis/variables/variable_scope), [Creating and Deleting Objects](/en/docs/basis/variables/object_live)