Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zu Hilfe!!! Problems with SDL_GetKeyState and if clause
#1
Hi!

When trying to compile the following:
Code:
' inputkeys is dimmed as Uint8 as it should
         inputkeys = SDL_GetKeyState(NULL)
         for tx_pointer = 48 to 58
            if inputkeys(tx_pointer) = 1 then
              
               tx_temp = tx_temp + chr$(tx_ponter)
               end for
            end if
         next

He whines about a missing then in the if clause.
Here is the error message, so if it is a bug that vic sees where to look.

[Image: 227-r]

Any ideas?
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Reply


Messages In This Thread
Zu Hilfe!!! Problems with SDL_GetKeyState and if clause - by BastetFurry - 02-18-2005, 02:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)