Thank you very much for your help. As soon as you gave me the clue of setting a global variable I understood your method. It took me a while to get it working because the program has multiple procedures which call each other in sequence. I also discovered that one can cause branching on certain times simply by the devise of setting of multiple OnTime which call different procedures at later and later times. Thanks again for your speedy response. Palmer.