<CCSV>.Root

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > CSV > cCSV class > <cCSV> constructor > <cCSV> properties >

<CCSV>.Root

 

Description

 

Return number of rows found in CSV file after loading the file via <cCSV>.Load.

 

Syntax

 

nRows = <cCSV>.Row.Count

 

Returns

 

Number

Number of rows found in CSV file

 

Remarks

 

Equal to <cCSV>.Rows

 

Restrictions

 

You can use this property after a call to <cCSV>.Load.

 

See also

 

<cCSV>.Rows

<cCSV>.Load

 

Examples

 

uses "CSV""console"

 

dim data as new cCSV

data.Load(APP_ScriptPath + "big.csv"True)  ' Change to existing CSV file

 

printl $("Number of rows found: {data.Row.Count}")

 
waitkey