That works perfectly. Thanks all. > > Better do a sleep(0.0001), the OS get's a hold of the cpu, > and the actual sleep time is so small as to be almost zero. > > -gus >