BlitzMax Docs -> 2D - Category -> Input -> GetChar
GetChar()
Returns:
The character code of the next character.Description:
Get next characterAs the user hits keys on the keyboard, BlitzMax records the character codes of thesekeystrokes into an internal 'character queue'.
GetChar removes the next character code from this queue and returns it the application.
If the character queue is empty, 0 is returned.
Comments
| ||
| Since GetChar() returns an Int value, what function is used to convert that into its String equivalent? |
| ||
Local a:Int=GetChar(), char:String If a char=Chr(a) Print char |
BlitzMax Manual Forum
Blitz3D Equivalent Command




