Suggestions for MQL syntax - page 3

 

If they would make work with multidimensional arrays (at least 2-dimensional ones) in MQL5, it would allow quick porting of mathematical calculations from C++(or MathLab), and the elementary task could be started by wrapping arrays into arrays of classes or structures

SZY: And a graphical GUI constructor would be cool

 
Alexey Navoykov:
By the way, speaking of method pointers (delegates), I forgot to add this to my list, which is also a necessary thing. It's more important than template twists and turns

Pointers to methods are not yet delegates, but their forerunner ) Delegates in C# are classes.

 
Igor Makanu:

If they would make work with multidimensional arrays (at least 2-dimensional ones) in MQL5, it would allow quick porting of mathematical calculations from C++(or MathLab), and the elementary task could be started by wrapping arrays into arrays of classes or structures

ZS: and a graphical GUI constructor would be awesome

Available in 4 dimensions

 
Alexey Volchanskiy:

Pointers to methods are not yet delegates, but their forerunner ) Delegates in C# are classes.

Well, that is clear. Pointers to methods in the literal sense are impossible in principle. We just figuratively call them pointers, it is more convenient and understandable that way, imho )
 
Dmitry Fedoseev:

Is there anything in C++ that isn't on the wish list and isn't in mql?

google help. there's a whole wagonload of them.

 
make the links at last!
 
Alexey Volchanskiy:

4-dimensional arrays are available

I didn't finish, dynamic arrays need multidimensional ones in MQL5

 
TheXpert:
make references at last!
Better pointers to any type of data. This would cover all the needs for transferring and storing information at once. I have suggested it to them many times in the service-desk, they said they would think about it, but they never thought of it.
 
Alexey Navoykov:
Pointers to any data type is better.

references have been around for a long time in function parameters for example, but you can't explicitly set a variable reference. and this is a problem for all types except classes.

I am for both

 
Georgiy Merts:

How many of these libraries are there ?

So far, besides the fxsaber compatibility library I cannot think of any. The question is whether most of the participants really use it.

First read carefully, then write.

If it were possible to write libraries, this topic would not exist.

Now it's impossible to write even normal containers in MQL.