#!%&*#@ scheme! ... help!

Derek Atkins warlord at MIT.EDU
Sun Nov 27 11:36:15 EST 2005


guile> (string-append "foo" "bar" "baz")
"foobarbaz"

You don't want the (list ...) stuff in there.

-derek

Quoting Brian <dol-sen at telus.net>:

> I'm trying to fix some things in the fancy invoice and I need help
> before I give up again :(
>
> I've already extended the properties dialog and business-utils.scm to
> export those new items along with a few others.
>
> I'm trying to change this:
>
>     "Make all cheques payable to: Company Name Inc.\nDirect all 
> inquiries to: Mr. Accounting Contact"))
>
>
> with these:
>
>     ((N_ "Make all cheques payable to: ") (list gnc:*business-label* 
> gnc:*company-name*)
>       ("\nDirect all inquiries to: ")  (list gnc:*business-label* 
> gnc:*company-contact*)))))
>
> How do you stick them all together?  I can't find anything similar to
> copy in the fancy invoice and all the tutorials I've tried don't seem to
> come close to this.  I've tried just about every permutation of list,
> string-expand, string-append I can think of :(
>
> Thanks.
> --
> Brian <dol-sen at telus.net>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list