<CCSV>.Rows

<< Click to Display Table of Contents >>

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

<CCSV>.Rows

 

Description

 

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

 

Syntax

 

nRows = <cCSV>.Rows

 

Returns

 

Number

Number of rows found in CSV file

 

Remarks

 

Equal to <cCSV>.Row.Count

 

Restrictions

 

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

 

See also

 

<cCSV>.Row.Count

<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.Rows}")

 
waitkey