getcsv

Synopsis

void getcsv(string)

Description

Loads the named comma separated file into a TupleSet with one tuple per input line, and each tuple containing those comma separated values occurring on that line of input. The pathname must be either relative from the current directory, or absolute. Tilde expansion or other shell-like expansions are not performed on the pathname string.

The result is stored in a variable named CSVDATA.

Example

If the comma separated file input.csv contains:
1,2,"This"
4,5,"That"
>> getcsv("input.csv")
>> list
CSVDATA
>> CSVDATA
1 2 "This"
4 5 "That"

See Also

getGXL read