If I have A1[],A2[],A3[] variables and another integer i, is there the possibility, in mql4 programming, to use something like A&&i[] for A1[],A2[],...?
For example:
A1[1]=10;
i=1;
B=Ai[1]; (macro substitution)
thanks
- Problem with Division in MQL4
- Any questions from a PROFI to a SUPER PROFI - 1.
- Useful features from KimIV
I am not quite sure what you want as "A&&i[] for A1[],A2[],...?" doesn't really fit with "For example: A1[1]=10; i=1; B=Ai[1];"
Thanks for the answer.
The problem is the same also for a normal variable, not only for array.
In clipper, nice language, if you have Var1=10 and i="1" you can set B=Var&i that is the same than B=Var1; is this possible in mql4?
thanks
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register