05-07-2005, 03:40 AM
why doesnt this work:
Code:
declare sub box
screen 12
dim shared mb
dim shared mx
dim shared my
dim shared scr(307200)
setmouse 1,1,1
do until a$=chr$(27)
a$=inkey$
getmouse mx,my,,mb
if mb = 1 then call box
loop
sub box
oldx=mx
oldy=my
get (1,1)-(640,400),scr
do until mb <> 1
getmouse x,y,,mb
if oldx <>x then
line (mx,my)-(oldx,oldy),0,b
line (mx,my)-(x,y),7,b
oldx=x
end if
if oldy <>y then
line (mx,my)-(oldx,oldy),0,b
line (mx,my)-(x,y),7,b
oldy=y
end if
loop
cls
put (1,1),scr
line (mx,my)-(x,y),7,b
end sub
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless