100 OPTION ANGLE DEGREES
110 DEF f(x)=TAN(x)
120 SET WINDOW -180,180,-4,4
130 DRAW AXES(90,1)
140 FOR x=-180 TO 180 
150    WHEN EXCEPTION IN
160       PLOT LINES: x,f(x);
170    USE
180       PLOT LINES
190    END WHEN
200 NEXT x
210 END


