IF Y==YY THEN STUFF YY would be the Y coordinate of one of the GPUTCHAR lines like line a would be at Y 120 and line b would be at Y 186.