
-----------------------------------
AlexIbrahim
Fri Jun 04, 2004 10:18 am

Finding Your Coordinates
-----------------------------------
Is there anyway to create a program that tell you where you mouse is at all times at it moves across the screen??

-----------------------------------
Dan
Fri Jun 04, 2004 10:33 am


-----------------------------------
Yes:

[url=http://www.compsci.ca/v2/viewtopic.php?t=6&highlight=mouse][Tutorial] How to use a mouse in your Turing programs

[url=http://www.compsci.ca/v2/viewtopic.php?t=3583&highlight=mouse]Buttons for Dummies!

[url=http://www.compsci.ca/v2/viewtopic.php?t=3275&highlight=mouse][tutorial] movement (getch,keydown,mouse)

-----------------------------------
Delta
Fri Jun 04, 2004 1:17 pm


-----------------------------------
and if your lazy and drunk just do something like this.

var mX, mY, mB : int

loop
Mouse.Where (mX, mY, mB)
locate(1,1)
put "x : ", mX, ":::: y : ",mY..
end loop

-----------------------------------
AlexIbrahim
Fri Jun 04, 2004 5:16 pm


-----------------------------------
you guys are awesome
