ASC() Returns Incorrect Values for Extended CharactersLast reviewed: June 27, 1995Article ID: Q99083 |
The information in this article applies to:
SUMMARYPage L3-205 of the "Language Reference" manual states that every character has a unique ASCII value in the range from 0 to 255 and that the ASC() function can be used to return the ASCII value for any character. However, in FoxPro for Windows, the ASC() function returns incorrect values for characters in the extended character set. To return correct values for the extended character set in FoxPro for Windows, use the ANSITOOEM() function as follows:
?ASC(ANSITOOEM(' ')) MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information, see pages L3-191 and L3-205 in the "Language Reference" for FoxPro version 2.5.
|
Additional reference words: FoxWin 2.50 2.50a character value documentation
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |