Computer Science Canada

Help with cordinates

Author:  cam [ Wed Nov 01, 2006 5:15 pm ]
Post subject:  Help with cordinates

In microsoft paint when you put the cursor over a pixel it tells you where the coordinates are so how can you do this in turing?

Author:  richcash [ Wed Nov 01, 2006 5:22 pm ]
Post subject: 

Look up Mouse.Where in the Turing Reference (press F10 in Turing to view).

Author:  cam [ Wed Nov 01, 2006 5:34 pm ]
Post subject: 

thank you very much

Author:  Piro24 [ Wed Nov 01, 2006 7:23 pm ]
Post subject: 

Don't know if this is accurate, I jsut did it for fun though...

Try it if you'd like

code:
var x, y, b : int
loop
    Mouse.Where (x, y, b)
    locatexy (4, 386)
    put "The cursor is at: (", x, ", ", y, ")"
end loop


: