do
if spacekey()=1
if mouseclick()=1 then circle mousex(),mousey(),5
endif
if returnkey()=1
if mouseclick()=1 then dot mousex(),mousey()
endif
if controlkey()=1
if mouseclick()=1 then line mousex(),mousey(),mousex()+10,mousey()-10
endif
if shiftkey()=1
ink rgb(rnd(255),rnd(255),rnd(255)),0
endif
loop
This is a very simple paint program
Hold space to draw circles with your mouse.
Hold enter to draw dots with your mouse.
Hold control to draw lines with your mouse.
Press shift to change the color.
Please post comments(this is one of my first programs)