Returns the next line from an open file and strips off the trailing carriage return/line feed of the returned string.

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 FileGetStr(
	SalFileHandle hFile,
	ref SalString sBuffer,
	SalNumber nBufferSize
)

Parameters

hFile
Type: PPJ.Runtime..::..SalFileHandle
The handle of the open file.
sBuffer
Type: PPJ.Runtime..::..SalString%
The returned string.
nBufferSize
Type: PPJ.Runtime..::..SalNumber
The maximum number of bytes to read.

Return Value

bOk

See Also