Hi Guys and thanks for your insights. I am about to have a play with 22.7 trillion digits of pi and some of your code is an excellent start. Just wanted to say thanks.

Cheers
Alan R Latchford