MAPUNICODE (function)

From QB64 Wiki
Revision as of 14:08, 23 October 2010 by imported>Clippy
Jump to navigation Jump to search

The _MAPUNICODE function returns the Unicode(UTF32) code point value of a mapped ASCII character code.

Syntax: UTFvalue& = _MAPUNICODE(Ascii_code%)

  • The UTF32 values have 4 byte encoding so the return variable should be LONG.
  • The Ascii_code can be any INTEGER value from 0 to 255.
  • Returns can be used to verify or catalog the present Unicode mapping.
  • The function will return Unicode values for the control characters, CHR$(127) and extended characters without mapping them first.

See also:

Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page