Click or drag to resize

FReadLine Function

Read a line from an open file, specifying two strongly-typed arguments.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION FReadLine(
	 pFile AS USUAL,
	 nBuffLen AS USUAL
) AS STRING

Parameters

pFile
Type: USUAL
The handle of the file. Please see the remark below about the compatibility of X# Runtime file handles and Win32 file handles.
nBuffLen
Type: USUAL

Return Value

Type: String
The line read. When the end-of-file is reached while attempting to read, the function returns a NULL_STRING and FError() is set to 257.
Remarks
This function is assumed to handle raw binary data and are not dependent upon the status of SetAnsi(). FReadText() and FRead4(), on the other hand, are dependent upon SetAnsi().
See Also