Источник:
http://www.axaptapedia.com/CommaTextIo
==============
Summary: New page: The CommaTextIO class can be used to read and write CSV files. ==Write CSV== #File CommaTextIo commaTextIo; FileIOPermission permission; CustTable custTable; str fileName = @"C:\te...
The CommaTextIO class can be used to read and write CSV files.
==Write CSV==
#File
CommaTextIo commaTextIo;
FileIOPermission permission;
CustTable custTable;
str fileName = @"C:\test.csv";
;
permission = new FileIOPermission(fileName,#io_write);
permission.assert();
commaTextIo = new CommaTextIo(fileName,#io_write);
while select custTable
{
commaTextIo.write(custTable.AccountNum,custTable.Name);
}
CodeAccessPermission::revertAssert();
Источник:
http://www.axaptapedia.com/CommaTextIo