CsvFileInputRecordStream.SkipLines

Syntax

CsvFileInputRecordStream.SkipLines( numLines)

Return Value

Long

Returns 0 if numLines were successfully skipped. Returns non-zero if end of file is encountered before numLines could be skipped.

Purpose

Skip the specified number of lines.

Remarks

This method provides a lower level interface to the underlying file than InputRecordStream.SkipRecords . Lines are read from the file and discarded immediately without further processing. Unlike InputRecordStream.SkipRecords , InputRecordStream.SkipLines has no special behavior for end of table.

Parameters

numLines As Long

[In] The number of lines to skip. A value of 0 indicates to return successfully without skipping any lines. A negative value causes a run-time error.

See Also

InputRecordStream.SkipRecords