Unit 'csvreadwrite' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCSVParser.ResetParser

Reset the parser to its initial state.

Declaration

Source position: csvreadwrite.pp line 147

public procedure TCSVParser.ResetParser;

Description

ResetParser resets the parser to its initial state: CurrentRow, CurrentCol and MaxColCount are all set to zero, and the output is cleared. The stream is put at position zero and if DetectBOM is True, the BOM marker is read.

See also

SetSource

  

Set the CSV source data.

CurrentRow

  

Row (zero based) of the current field.

CurrentCol

  

Column (zero based) of the current field.

MaxColCount

  

Return the maximum column count encountered till now.

BOM

  

type of BOM marker found at the start of the data.


Documentation generated on: Nov 22 2024