Anonymous user
Color of a screen pixel: Difference between revisions
→{{header|BASIC}}: add AmigaBASIC version
m (→Using GTK3) |
(→{{header|BASIC}}: add AmigaBASIC version) |
||
Line 40:
=={{header|BASIC}}==
=={{header|AmigaBASIC}}==
<lang amigabasic>MOUSE ON
WHILE 1
m=MOUSE(0)
PRINT POINT(MOUSE(1),MOUSE(2))
WEND</lang>
(The color index is -1 if the mouse pointer is outside the Basic window.)
==={{header|Applesoft BASIC}}===
|