Dave Peticolas <[EMAIL PROTECTED]> writes:
> This seems to work for the examples I have. It will fail when
> a number contains a thousands separator in us-style but no
> decimal point. I cannot find any example of this in the qifs
> I have (and in the data dir). Anyone have a counterexample?
Yes. There's a fairly popular program for the Newton machines and
for the Pilots called "Pocket Money". The last 3 years or so of
all my account info is in PM. It has a QIF export facility, and
round-dollar figures make QIF records like so:
!Type:Bank
D4/10/97
T2,000
N
C*
M
PUFCU
L
^
Is there a QIF spec document? It's my experience that if something is
not officially forbidden by a spec somebody will do it that way, and
you want to be able to parse anything that meets the spec.
AFAICT, there are two different mechanisms in CVS gnucash for
importing QIF: one (which Rob tells me is known-broken and likely to
go away) in C code, accessible through the big button or file/import,
and one which is in Scheme in the Extensions menu, unless you have
applied Dave's patch in which case it's just hidden.
Who wrote the Scheme code? I can't find a name on it anywhere. If
it's not being actively worked on, I'd be happy to take a shot at
cleaning it up, if only so I can get my own financial history sucked
into gnucash.
Thanks,
Bill Gribble
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]