Examples of using Include file in English and their translations into Russian
{-}
-
Official
-
Colloquial
Inc file extension Include File.
The include file Check. mqh containing the description of the user-defined function Check.
Vs file extension Vivid Include File.
Include file Terminal. mqh that contains the description of the order accounting function Terminal.
Pri file extension Qt Project Include File.
It is easy to note that the name of the include file is the same as the name of the function it contains.
This function can be used only inside an include file.
However, the practice of giving an include file the same name as that of the contained function is feasible.
This is a Sun bug(broken compiler or broken include file).
Generally, the name of an include file is not required to be the same as the name of the function it contains.
The global arrays are declared in an include file Variables. mqh.
In this case compilation will run successfully, butthe preprocessor will terminate with the error message"cannot open include file.
If several functions are logically interconnected, one include file may contain the description of several user-defined functions.
Ssi file extension Adobe Dreamweaver Server Side Include File.
Sometimes the include file is very long and because a certain condition occurs, the user would like to stop the processing of the syntax file. .
Each function used in the program is usually formed as an include file.
An example of an include file containing a program fragment that is not the function description is file Variables. mqh.
The control trade function Trade()is formed as include file Trade. mqh.
Errors of the"Cannot open include file","use the/MD switch for_AFXDLL builds" kinds on projects that could be successfully compiled in Visual Studio.
External variables Lots andPercent are declared in the include file Variables. mqh.
The include file of variable declaration cannot be called from any function, since the code contained in it is not the description of a function that can be called and executed.
The event tracking function Events()is formed as the include file Events. mqh.
In block 1-2 of the include file Variables. mqh, all external variables are specified, the values of which determine the amount of lots for new orders, the free margin percentage allocated for new orders, the requested prices for stop orders of the market orders to be opened, as well as the distance of TralingStop for modification of StopLoss order.
The executive trade function Open_Ord()is formed as include file Open_Ord. mqh.
In such cases, for convenience, the program can be divided into several fragments,each formed as a separated include file.
In some(rare) cases,it is technically possible to declare a global variable in an include file that describes the function, in which the value of this variable is first used in the program.
The function Lot() that determines the amount of lots is formed as include file Lot. mqh.
The executive trade function Tral_Stop()is formed as include file Tral_Stop. mqh.
The executive trade function Close_All()is formed as the include file Close_All. mqh.
Function defining trading criteria, Criterion(),is formed as include file Criterion. mqh.