>>>>> Craig Earls <[email protected]> writes:

> While trying to answer another users question I realized I need a better
> understanding of the wildcards in formatting statements.  These are the %$3
> etc.  you see at the end of the register formatting string.  I couldn't get
> them to work for me on the command line. Can anyone clue me in on how they
> are supposed to work?  I thought they were simple field substitutions from
> the first line of the format string.

If you have %("foo")%/%$1, it should print foofoo.  It simply says, "repeat
the interpolated _expression_ for the first substitution" (not just the
interpolated string value).  The %/ is used by the various reports
differently.  For balance it separate the account lines from the total line;
for register it separates the first posting of a transaction from the other
postings in the same transaction.

John

Reply via email to