Posted 23 November 2002 - 18:43
You can make a loop work, but you need to change how you store the string constants.
One way would be to make a super-long string constant and have each item separated by a special unused character such as a semicolon. Then you could parse through the string and grab what resides between the two special charcaters (i.e. a semicolon). You'll just need to special case the first & last string values.
Another way is to store those string values externally in a separate text file. Each line of the file would be a separate value, so you would simply open the file and read a line for each array element. I'd suggest putting the text file under your project's Setup Files, so it's easily accesible at runtime.