Discussing the article: "From Basic to Intermediate: Definitions (II)"

 

Check out the new article: From Basic to Intermediate: Definitions (II).

In this article, we will continue our awareness of #define directive, but this time we will focus on its second form of use, that is, creating macros. Since this subject can be a bit complicated, we decided to use an application that we have been studying for some time. I hope you enjoy today's article.

In the previous article “From Basic to Intermediate: Definitions (I)” we discuss #define compilation directive. We saw how to use this directive to simplify, speed up, and make our code easier to implement, as well as how to use it creatively and effectively during the language learning phase to make everything a little easier. To use this resource, we must understand what we are doing. However, overall, we can make our MQL5 code appear more exotic, if you will.

Well, for this reason, there is a second way to use #define compilation directive. In order not to complicate what was discussed in the previous article, we decided to show this in a separate article. Thus, we can approach the issue more calmly. And you will be able to learn and practice in a much more enjoyable form, which will really make it easier to understand and master the concepts, since this knowledge will be of great importance for what we will see in the following articles, mainly when we start working at the programming level, which I already consider as intermediate.


Author: CODE X