Page History
...
Code Block |
---|
* Parse an open CSV, returning rows 25 through 60 skipFlag = 1 ; * skip the first line of the CSV data when parsing filePath = "" startRow = 25 endRow = 60 OsRead inData from csvFile then data = RTI_ParseCSV( inData, skipFlag, filePath, startRow, endRow ) end |
Example 3
Code Block |
---|
* Parse a CSV file, passing the filePath to the function skipFlag = 1 filePath = "C:\some_csv_file.csv" startRow = "" endRow = "" Set_Status(0) data = RTI_ParseCSV( inData, skipFlag, filePath, startRow, endRow ) if data = "" then error = Get_Status(errCodes) if errCodes then FsMsg(errCodes) end end |
...
Example 4
Code Block |
---|
* Parse a CSV file, passing the filePath to the function. * Parse from row 10 forward skipFlag = 1 filePath = "C:\some_csv_file.csv" startRow = 10 endRow = "" Set_Status(0) data = RTI_ParseCSV( inData, skipFlag, filePath, startRow, endRow ) if data = "" then error = Get_Status(errCodes) if errCodes then FsMsg(errCodes) end end |
...
Example 5
Code Block |
---|
* Parse a CSV file, passing the filePath to the function. * Parse through row 10 skipFlag = 1 filePath = "C:\some_csv_file.csv" startRow = "" endRow = 10 Set_Status(0) data = RTI_ParseCSV( inData, skipFlag, filePath, startRow, endRow ) if data = "" then error = Get_Status(errCodes) if errCodes then FsMsg(errCodes) end end |