Purpose |
Translates a byte
|
Syntax |
a$ = OemToChr$(OemExpr$) a$$ = OemToChr$(GRAPHIC, OemExpr$) |
Remarks |
OemExpr$ contains a series of byte (8-bit) characters in OEM format. OemToChr$ translates it into either ANSI multi-byte equivalent characters or WIDE (16-bit) Unicode characters, depending upon the context of the source code. PowerBASIC will always choose the correct form with no intervention needed by the programmer. |
GRAPHIC |
If the option GRAPHIC is included, it indicates you want to convert control codes into the codes which will display the graphic symbols defined in the original IBM OEM character set. Most of these codes are only available as wide Unicode characters. |
See also |