CSVColumnFileWriter (open)
Syntax
LOADLIB "wh::filetypes/csv.whlib";
OBJECTTYPE CSVColumnFileWriter
Constructor
Variables
- BOOLEAN booleans_to_yesno
Map true/false to yes/no (language-dependent)
- STRING charset
Character set (defaulfts to UTF-8, suggested alternatives are ISO-8859-1 and ASCII)
- STRING decimalpoint
The decimal point (defaults to '.', alternative is ',')
- BOOLEAN encode_excel_values
Encode the values in an excel-compatible way (wrap in quotes, escape quotes by doubling)
- STRING fieldseparator
Character to separate indidividual fields (defaults to ';', alternatives are ',' and '\t')
- BOOLEAN headerrow (inherited from ColumnFileWriterBase)
Whether to add a header row. Defaults to true
- STRING languagecode
Language for booleand and date/time strings
- STRING lineseparator
The line separator (defaults to '\r\n')
- STRING timezone (inherited from ColumnFileWriterBase)
Timezone for date/time conversions
Properties
- PROPERTY columns (inherited from ColumnFileWriterBase)
Functions
- BLOB FUNCTION MakeOutputFile()
- MACRO WriteRow(RECORD inrow)
- MACRO WriteRows(RECORD ARRAY inrows) (inherited from ColumnFileWriterBase)