This article explores the key operators used to modify the program's execution flow: conditional statements, loops, and switch statements. Utilizing these operators will allow the functions we create to behave more "intelligently".
Until now, our programs have been fairly limited, executing instructions in a strictly linear fashion without decision-making capabilities. After reading this article, you will be able to create more sophisticated programs.
To start, we will take a detailed look at Boolean (logical) expressions, as they form the foundation for understanding the rest of the material.
Check out the new article: Master MQL5 from beginner to pro (Part V): Fundamental control flow operators.
This article explores the key operators used to modify the program's execution flow: conditional statements, loops, and switch statements. Utilizing these operators will allow the functions we create to behave more "intelligently".
Until now, our programs have been fairly limited, executing instructions in a strictly linear fashion without decision-making capabilities. After reading this article, you will be able to create more sophisticated programs.
To start, we will take a detailed look at Boolean (logical) expressions, as they form the foundation for understanding the rest of the material.
Author: Oleh Fedorov