keyID = KeyboardPushed(#PB_Key_All)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Froggerprogger.

Hi, it would be veeeeerrrry useful if the function KeyboardPushed would not only retrieve 1 or 0, but a KeyID.
Then it would be possible to write some code like

string.s + Chr(KeyboardPushed(#PB_Key_All) + #offset)

instead of a gigantic select-tree.
Or is this not possible?


Purebasic - what a nice name for a girl-friend