Draws a point on the screen.
Plot x, y
x, y:floating-point expression
Plot x, y draws a point with coordinates x, y on the screen. The coordinate system depends on the ScaleMode setting.
OpenW # 1
Local mk%, mx%, my%
DefMouse 2
Do
Mouse mx%, my%, mk%
If mk% & 1
Color Rand (_C) - 1
Plot mx%, my%
EndIf
Until mk% %& 2
CloseW # 1
An infinite loop which draws a point at the current mouse position after each mouse button click.
Draw, Line, PolyLine, Preset, Pset, QBDraw, SetDraw
{Created by Sjouke Hamstra; Last updated: 21/10/2014 by James Gaite}