Difference between revisions of "MAPUNICODE (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
(Created page with 'The '''_MAPUNICODE''' function returns the UTF32 value of the ASCII character given. ''Syntax:'' UTFvalue& = _MAPUNICODE(Ascii_code%) * The UTF32 values have 4 byte enco…')
 
imported>Clippy
m
Line 1: Line 1:
The '''_MAPUNICODE''' function returns the UTF32 value of the [[ASCII]] character given.
+
The '''_MAPUNICODE''' function returns the [[Unicode]](UTF32) code point value of the mapped [[ASCII]] character code.
  
  

Revision as of 01:57, 23 October 2010

The _MAPUNICODE function returns the Unicode(UTF32) code point value of the 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.
  • Since most Unicode mapping occurs above the normal keyboard code values, the code numbers cannot be derived from keypresses.


See also:



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