Returns the next character in an open file. You must use this function in place of the SalFileGetChar function if the file contains non- ASCII (ANSI) or 16-bit characters. If the character returned is a 16-bit character, the lead byte of the character is in the high-order byte, and the trail byte is in the low- order byte. To get the lead byte, use SalNumberHigh. To get the trail byte, use SalNumberLow.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalBoolean FileGetChar(
	SalFileHandle hFile,
	ref SalNumber nChar
)

Parameters

hFile
Type: PPJ.Runtime..::..SalFileHandle
The handle of the open file.
nChar
Type: PPJ.Runtime..::..SalNumber%
The next character in hFile.

Return Value

bOk

See Also