Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

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")