thanks for enlightening me about alias names -- I was a bit sleepy last night and didn't experiment with creating dynamic aliases, and now you've saved me the effort....

I still wonder if all this effort to create dynamic variable names is worth the maintenance and debugging headache it will create. If the variable name prefix is set WITHIN the script, does this accomplish anything that using a text editor wouldn't? I'm assuming that he's NOT trying to create recursive scripts for such things as lexical and syntactical analyzers or evaluating numerical algorithms.