Tut tut Mr Dobson.. you're up way too late :) I'm struggling to work out why my machine thinks cos() is undefined when I #include <math.h> hmmmm??? -- Geoff Teale <tealeg at member.fsf.org> Free Software Foundation