Click or drag to resize

Ansi2OemA Function (Byte)

Convert an array of ANSI characters to OEM characters, changing the contents of the argument as well as the return value.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.5
Syntax
 FUNCTION Ansi2OemA(
	bSource AS BYTE[]
) AS VOID

Parameters

bSource
Type: Byte
A byte array that contains the string to convert

Return Value

Type: 
A converted string of OEM characters.
Remarks
Ansi2OemA() is the same as Ansi2Oem(), except that Ansi2OemA() also replaces the contents of the original string with OEM characters.
Examples
This example converts the contents of a string containing the characters ßä from ANSI to OEM.
X#
1LOCAL cString AS STRING
2cString := "ßä"
3Ansi2OEMA(cString)        // Converts ßä to OEM
See Also