Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>ansitooem()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
AnsiToOem()
Convert a string from the Windows character set to DOS
------------------------------------------------------------------------------

Syntax
AnsiToOem( <cAnsiStr> )   -->   cOemStr

Arguments
<cAnsiStr> is the Windows string.

Returns
The string converted to the OEM character set.

Description
This function converts a string from the Windows character set
(used internally by Windows) into a string using the so-called
OEM character set (which is the PC character set, as used by
DOS).

Note: the AnsiToOem() function is not quite the opposite of
OemToAnsi(), as there are some characters that are not
available in both sets.

You might find this function useful for importing data, e.g.
via DDE.

Example
cAnsi = chr(214)
if AnsiToOem( cAnsi ) == chr(153)      // .T.
     // always true
endif


See Also: OemToAnsi()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson