arrdio写入CSV

admin2021-10-28  831


import console; 

import string.database;
var csvObject = string.database("," ,);

var dataTable = {
    {1, "2", "3", "4"},
    {"q", ","},
}

import fsys;
csvObject.save( fsys.getTempDir()   "/1.csv" , dataTable)

console.pause(true);

arrdio中将table的数据csv格式写入文件,注意dataTable是二维数组

转载请注明原文地址: http://aardio.net/read-255.html
最新回复(0)
aardio问答
aardio编程语言