PANDORE Version 6 | GREYC-IMAGE |
pcol2csv converts the contents of the input collection col_in into a csv file. CSV files (Comma Separated Values) are plain-text files that contain a list of formattaed data that can be used in any in any spreadsheet application.
The output uses the following format:
label1; label2; label3; val11; val21; val31; .. .. .. val1n; val2n; val3n;where the separator is the semicolon. The name of the text file is optional. If it is omitted, the result is printed on the standard output.
Notice: Uchar and Char arrays are printed as tiny integer arrays. Therefore, strings (Array:Char) are printed as a sequence of ascii code values (where A = 65, B=66 ...).
Returns SUCCESS or FAILURE.
Displays the contents of the collection col.pan:
pobject2col foo tangram.pan col.pan pcolsetvalue foo Float 10.5 col.pan col.pan pfile col.pan pcol2csv col.pan data.csv
Conversion d'une collection en un fichier csv.
Author: Régis Clouard