>>>I was getting an error and I sensed that the reason was the extra parameter I added. You confirmed it.
>
>I hesitate to mention performance after some recent threads(!) but passing lots of/large parameters definitely carries a performance hit. The other option is PRIVATE variables or parameter objects in the calling code: you can have as many as you need that are visible to called functions without the performance impact.
I implemented a parameter object and it replaces the 28 parameters very nicely.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham