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

Username:   Password: 
 RegisterRegister   
 controls question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Pear-i




PostPosted: Tue Mar 25, 2003 2:42 pm   Post subject: controls question

this is probably a simple question,
but I was just wondering how would i switch the controls for my program to
use the up down left right buttons rather than letters / numbers?

thanks
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Mar 25, 2003 3:31 pm   Post subject: (No subject)

http://www.compsci.ca/bbs/viewtopic.php?t=114

or if using compiler under v4.x, you can use ASCII values instead

code:

var c:string(1)
getch(c)
put "ASCII of ", c," is ", ord(c)


this prog will tell you ASCII values of any key pressed
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Pear-i




PostPosted: Tue Mar 25, 2003 4:19 pm   Post subject: thanks!

thanks Tony *smiles* you've been most helpful ^_^

hehehe I should've known how to do that :p
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: