Okay, there's a DoubleToStr() function, a StrToDouble() function and a StrToInteger() function ... but, is there an IntegerToString()??? Apparently there isn't, at least according to the MetraTrader reference.
What I'm trying to do is convert an array of integer variables into an array of string variables. However, without the ability to convert it directly, this is what I have to do:
Now, if there were such a conversion function available, this I believe is all I need to do below:
Any ideas?
Thanks!
What I'm trying to do is convert an array of integer variables into an array of string variables. However, without the ability to convert it directly, this is what I have to do:
PHP Code
dig[1]="01"; dig[2]="02"; dig[3]="03"; dig[4]="04"; dig[5]="05"; dig[6]="06"; dig[7]="07"; dig[8]="08"; dig[9]="09"; dig[10]="10"; dig[11]="11"; dig[12]="12"; dig[13]="13"; dig[14]="14"; dig[15]="15"; dig[16]="16"; dig[17]="17"; dig[18]="18"; dig[19]="19"; dig[20]="20"; dig[21]="21"; dig[22]="22"; dig[23]="23"; dig[24]="24"; for(int i=1; i<=24; i++) { string mag[i]="magic #"+dig[i]; }
PHP Code
for(int i=1; i<=24; i++) { string dig[i]=IntegerToStr(i); string mag[i]="magic #"+dig[i]; }
Thanks!