CharToNum- Converts the character into its Unicode code
Function that converts the passed character as parameter in the relative Unicode code.
- CharToNum(C): int
- (string) C: character to be converted into the relevant Unicode code.
Use the CharToNum function to convert the passed character as string into its Unicode code. If string C contains more than one character, only the first character is converted.
// Stores the Unicode code of the letter B in variable N
N = CharToNum("B")