Convert Variable
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.
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.