I remember from Amiga days so called TagList It was an array of pais NAME, VALUE, followed by end of list tag, it made GUI programming very easy. I think it would be easy to write function putting values from TagList in right places in a string containing parameter values, and giving default values where required name value pair is missing. And then calling it with eval -- Jacek Podkanski