Might be, but every time you change code to alter data, you risk the code not working. External data is always the better option.

Anytime that I need to work with variable data, I start by building the data file - either an INI or CSV file. Excel, too, since I can dump it to CSV easily. With FileIO() and CSV() I can read the entire file with one line and enumerate it, converting the CSV records to arrays.

Only after I have the data laid out do I start writing the script to use the data and then process it. I can alter the data anytime and never touch the script again.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D