Try the following
[pascal]
if (keystate^[SDLK_q] <> 0) then
[/pascal]
You need to dereference the pointer in freepascal unless you use -MDelphi in which case you don't need the ^ (but it doesn't hurt)
Try the following
[pascal]
if (keystate^[SDLK_q] <> 0) then
[/pascal]
You need to dereference the pointer in freepascal unless you use -MDelphi in which case you don't need the ^ (but it doesn't hurt)
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Bookmarks