Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help with cordinates
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
cam




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
richcash




PostPosted: Wed Nov 01, 2006 5:22 pm   Post subject: (No subject)

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




PostPosted: Wed Nov 01, 2006 5:34 pm   Post subject: (No subject)

thank you very much
Piro24




PostPosted: Wed Nov 01, 2006 7:23 pm   Post subject: (No 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: