initializing currencies ??

Dave Peticolas dave@krondo.com
25 Jun 2001 23:18:48 -0700


On 26 Jun 2001 00:56:51 -0500, Linas Vepstas wrote:
> What's the right way to initialize the list of iso currencies?
> When I just call gnc_book_load() from a stand-alone C program,
> it gets a parse error, because ISO4217::USD is not defined.
> That's because the xml file format doesn't store these currencies,
> and also because the engine doesn't initialize any values for them
> (the initialization is done with scheme code when running gnucash).

Short term, the easiest thing to do would be to stick the
currencies in an XML file and load that file once. I believe
Jim's medium-term plan is to move the currency definitions to
just such a file and use that instead of the scheme file.

dave