testing for a pushed button switch

Paul...
Thanks for that, done as you sugested and put a digitalRead in a while loop
in setup and that works perfectely..

Regards Philip