[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  IsAnsi( cString )-> <lIsAnsi>
------------------------------------------------------------------------------


 PARAMETER:

  <cString> is the target string to examine


 RETURNS:

  <lIsAnsi> is TRUE if the string contains ANSI characters


 DESCRIPTION:

  This function tries to examine if a given string contains characters from 
  Windows character set and therefore is in the ANSI Format. 
  This can be usefull to determine if a string has to be converted to OEM


 EXAMPLE:

    +--------------------------------------------------------------+
    |  /* Convert large String */                                  |
    |   cData := MEMOREAD( "System.ini" )                          |
    |   IF( IsANSI( cData ))                                       |
    |       cData := AnsiToOem( cData )                            |
    |   ENDIF                                                      |
    +--------------------------------------------------------------+


 SOURCE:  

  SOURCE\WINAPI\OEMANSI.C



See Also: IsOEM AnsiToOem OemToAnsi
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson