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

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




PostPosted: Thu Mar 11, 2004 7:19 pm   Post subject: Mouse Position

I have a problem with the speed of this code, how do I make it faster? Why doesn't it clear?

code:
View.Set ("offscreenonly")

var mousex, mousey, button : int

proc DrawLine
    drawline (mousex, mousey, mousex + 10, mousey, 7)
end DrawLine

loop
    Mouse.Where (mousex, mousey, button)
    DrawLine
    View.Update
end loop
Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Thu Mar 11, 2004 7:25 pm   Post subject: (No subject)

Tell me what your trying to do Question
What do you mean it doesn't clear Question
And the speed is find on my computer but I don't really know what speed you want, its a simple code, I don't see anyway of making if faster, but Im not pro Question
TheXploder




PostPosted: Thu Mar 11, 2004 7:30 pm   Post subject: (No subject)

nevermind, I figured it out...
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  [ 3 Posts ]
Jump to:   


Style:  
Search: