Mehmet Bastem: In the delphi language "'+ variable name'" we can get the contents of the variable. But in mql4 this is how the form is.
| Does not exist! |
Mehmet Bastem:
What you're trying to do is use a name as a key to reference the variable instead of it's index #. In that case you need to use a hash table, which you'll have to find one in the codebase to suit your needs.
string b11[20];
string SeyranGrup[20]={"aa","bb","cc","dd"};
b11[2]="Seyran"+"Grup";
Alert(b11[2]);
result is SeyranGrup. how can I do it result= bb
i have 70 variables . I want to do with a for loop. But the name of the variable instead of the result. I want the content of the variable.
In the delphi language "'+ variable name'" we can get the contents of the variable. But in mql4 this is how the form is.
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
result is SeyranGrup. how can I do it result= bb
i have 70 variables . I want to do with a for loop. But the name of the variable instead of the result. I want the content of the variable.
In the delphi language "'+ variable name'" we can get the contents of the variable. But in mql4 this is how the form is.