Download MetaTrader 5

Discussion of article "Using the Object Pointers in MQL5"

To add comments, please log in or register
Deposit to your account via WebMoney
MetaQuotes Software Corp.
MetaQuotes Software Corp. 2010.04.16 09:51 

New article Using the Object Pointers in MQL5 is published:

By default, all objects in MQL5 are passed by reference, but there is a possibility to use the object pointers. However it's necessary to perform the pointer checking, because the object may be not initialized. In this case, the MQL5 program will be terminated with critical error and unloaded. The objects, created automatically, doesn't cause such an error, so in this sence, they are quite safe. In this article, we will try to understand the difference between the object reference and object pointer, and consider how to write secure code, that uses the pointers.

Author: MetaQuotes

To add comments, please log in or register