savecsv - Stores arrays to a comma-separated file.
savecsv(input,file,delimiter,enclosure,escape)
if savecsv( [ ['title1','title2',1.5], ['aaa',123,2.6], [124,'dfg'] ] ,'/test.csv',v) == true then "true"; else "Can't save CSV"; v; endif; if savecsv( [ ['title1','title2',1.5], ['aaa',123,2.6], [124,'dfg'] ] ,'/test.csv',v) == true then v.errcode; else "Can't save CSV"; v; endif; if savecsv( [ ['title1','title2',1.5], ['aaa',123,2.6], [124,'dfg'] ] ,'/test.csv') == true then v; else "Can't save CSV"; v; endif; if savecsv( input:[ ['title1','title2',1.5], ['aaa',123,2.6], [124,'dfg'] ] ,file:'../../../../test.csv',error:v) == true then "true"; else v; endif
Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com