Simple syntax problem

Blitz3D Forums/Blitz3D Beginners Area/Simple syntax problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Can someone help me out with this:

If KeyDown(203) And Not (KeyDown(200) Or KeyDown(208)) Then

I'm trying to say "if the player is pressing left without pressing up or down at the same time". I've tried a bunch of combinations - Blitz don't like it :(