Multikey questions

General FreeBASIC programming questions.
Post Reply
Posts: 113
Joined: Jul 23, 2008 9:32

Multikey questions

Post by KLBear »

Using scancodes with Multikey You dont have to #include ""
IF Multikey(&H4D) THEN Print "RIGHT"

On Using Multikey another method should I use this ?
example 1
#include once ""
if I put FB.SC_RIGHT This works with out using fb
If MultiKey(FB.SC_RIGHT) Then print "RIGHT"

Or should I use this ?
'example 2
#include ""
using fb
removed FB. this works as long as your using fb
If MultiKey(SC_RIGHT) Then Print "RIGHT"

Also do I use #include once "" or leave once out ?
Post Reply