You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matěj Štágl edited this page Dec 25, 2018
·
11 revisions
ord
Returns unicode value of a single character in a string.
Syntax:
ord(ch)
Argument
Description
char ch
A character to be converted
Returns:int
Description:
This function takes a single character and return its Unicode value. You can use this function to store integers of key presses. Function is identical to cast of char to int.