home *** CD-ROM | disk | FTP | other *** search
- MODULE 'intuition/intuition'
- RAISE "WIN" IF OpenW()=NIL
- PROC main() HANDLE
- DEF win, x, y
- win:=OpenW(20,20,600,200,$200,$F,'Plot Test',IDCMP_CLOSEWINDOW,1,NIL)
- FOR x := 20 TO 400 STEP 3
- FOR y := 20 TO 100 STEP 3
- Line(10, 10, x, y, y)
- ->Plot(x, y, y)
- ->Box(10, 10, x, y, y)
- ->TextF(x, y, 'Plot Test \d[3],\d[3]', x, y)
- ENDFOR
- ENDFOR
- WaitIMessage(win)
- EXCEPT DO
- CloseW(win)
- ENDPROC
-