Sorry, I guess I wasn't clear. I don't want to display the string "text100", "text101", etc. I want to display the value of the variable $text100, $text101, etc.
So essentially what I need to do is glue together a bunch of bits ("$text10" and the numbers 0 thru 6, successively), then retrieve the value that glued-together variable name represents.
I'm using this to set up a multilingual site - this particular bit of code generates a list of days of the week. Code elsewhere in the page tells this code whether to pull $text100, $text101, etc. from the English language set of text variables or the Spanish language set.
So - one page, with as many languages as I like.
While it is easy enough to just manually populate a list of days, things get more difficult when I'm trying to determine what day of the week any given date is. I'll end up using a date() function to get the single digit representing the day of the week (0 thru 6), and then pull the language-appropriate word out of the text variables ($text100, $text101, etc.) to print it in text - "This group meets Thursday, July 23rd" - or the equivalent in Spanish.