Hi, > fflush(stdout) cheers! i knew it was something simple :) Regards, James Mclean "Increased knowledge will help you now. Have a mate's phone bugged." -- /usr/games/fortune