Sign in Join
FPDoc Onlineexperiment

TCSVDocument.ExchangeRows procedure

Member of TCSVDocumentpublicIn unit CsvDocument

Exchange positions of 2 rows.

Declaration

pascal
procedure ExchangeRows(ARow1: Integer; ARow2: Integer)

Arguments

ARow1

First row index.

ARow2

Second row index.

Description

ExchangeRows takes 2 rows with positions aRow1 and aRow2, and exchanges them. if either of the row indexes does not exist, no action is performed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.