Advertisement
ktostam450

BASIC BasicPaint

Dec 3rd, 2012
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim as integer x, y, b, d = 0
  2. do
  3.     color d, d
  4.     print chr (219)
  5.     d+=1
  6. loop until d=16
  7. color 15,0
  8. do
  9.     do
  10.         getmouse y,x,,b
  11.         x+=1
  12.         y+=1
  13.         if b=1 AND y=1 then
  14.             if x<=16 then
  15.                 color x-1, x-1
  16.                 b=10
  17.             end if
  18.         end if
  19.         if b=1 then
  20.             locate x, y
  21.             print chr (219)
  22.         end if
  23.     loop while b=0
  24. loop until b=3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement