I was trying to define an array of strings to store a bunch of symbol names. I tried the following methods which should be valid in standard C, but I got syntax errors in Zorro:
Eventually I was able to work around using the following: string symb; while(symb = loop("USDJPY", "EURUSD", "USDCAD")) { ... }
But this is not ideal as I cannot reuse the array somewhere else.
Does anyone know in Zorro how I should properly initialize an array of strings? If necessary I can accept a method that requires dynamic memory allocation.
Thanks!!
Re: Array of strings?
[Re: panz]
#461768 08/19/1619:0008/19/1619:00