Posted by Jim Guerber on June 15, 2012 at 11:35:48:
In Reply to: Re: Negative numbers in Excel posted by Jim Barbaruolo on June 15, 2012 at 05:45:48:
Why are you guys trying to do this the hard way? Comet will format a CSV file perfectly.
I made a small test program....
9999 format a$;i;b$;j;c$;k;d$
clear
print(et)
a$ = 'a'
b$ = 'b'
c$ = 'c'
d$ = 'd'
e$ = 'e'
f$ = 'f'
g$ = 'g'
i = -1
j = -2
k = -3
erase 'xxx.csv' dir='cos' noexcp
create 'xxx.csv' dir='cos'
close(1) & open(1) 'xxx.csv' dir='cos'
file(1)csvprint(1,9999)
close(1)
...and it produced a csv file correctly formatted. What's wrong with the "file(1)csv" statement???
;-)
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.