Re: Negative numbers in Excel


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

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)csv

print(1,9999)
close(1)

...and it produced a csv file correctly formatted. What's wrong with the "file(1)csv" statement???

;-)




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]