I'm no BASIC Guru, but this one line caught my eye while scrolling through your mail: > 2010 IF ABS(H>1. THEN GOTO 2040 Missing parenthesis? Regards, Michael