On Dec 2, 2011, at 11:19 AM, Derek Atkins wrote: > > On Fri, December 2, 2011 2:12 pm, John Ralls wrote: >> >> On Dec 2, 2011, at 10:56 AM, Geert Janssens wrote: >> > [snip] > >>> 278: 35 (set! value (gnc-numeric-add amount value GNC-DENOM-AUTO GNC- >>> DENOM-LCD)) >>> 278: 36* [gnc-numeric-add # # #<primitive-procedure GNC-DENOM-AUTO> >>> ...] >>> /kobaltnet/janssege/Development/Installs/gnucash-f15- >>> trunk/share/gnucash/scm/report-utilities.scm:278:32: In procedure >>> gnc-numeric- >>> add in expression (gnc-numeric-add amount value ...): >>> /kobaltnet/janssege/Development/Installs/gnucash-f15- >>> trunk/share/gnucash/scm/report-utilities.scm:278:32: Wrong type >>> (expecting >>> exact integer): #<primitive-procedure GNC-DENOM-AUTO> >>> >>> I also tried changing to re-export instead of removing the entries, but >>> the >>> above error remains. >> >> Rats. > > Why is GNC-DEMO-AUTO a "primitive procedure"? This sounds like it's being > wrapped differently, such that it's a procedure instead of a constant?
I think that's what Scheme says when it encounters an undefined symbol. It doesn't really distinguish between functions and variables, constant or otherwise. Regards, John Ralls _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
