sprintf help needed - dynamic creation

Hi Juraj, thanks for your input.
I have been trying to work out how to create the va_list. No good results so far.
I was starting to think if I pass in the va_list in an array it might work but have not got that far yet.
I was also thinking of building it one variable at a time but was hoping not to have to.
I might end up going that way.