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

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




PostPosted: Thu May 20, 2004 6:32 pm   Post subject: space bar

what would be a key comand for space bar? i need to use it as firing for airplane?
Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Thu May 20, 2004 6:39 pm   Post subject: (No subject)

if ord (key) = 32
Paul




PostPosted: Thu May 20, 2004 6:43 pm   Post subject: (No subject)

or u could go
code:

var key: string(1)
getch (key)
if key=" " then
fireplane
end if
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: