I just updated ledger since January. I have entries like:
01/06 * Change
  Assets:Coins                      5  Pennies {=$0.01}
  Assets:Coins                      3    Dimes {=$0.10}
  Assets:Coins                      2 Quarters {=$0.25}
  Assets:Cash                           $-0.85

But I get this error:

While balancing transaction from "./2009.lgr", lines 119-123:
> 01/06 * Change
>   Assets:Coins                      5  Pennies {=$0.01}
>   Assets:Coins                      3    Dimes {=$0.10}
>   Assets:Coins                      2 Quarters {=$0.25}
>   Assets:Cash                           $-0.85
Unbalanced remainder is:
              $-0.85
    3 Dimes {=$0.10}
  5 Pennies {=$0.01}
 2 Quarters {=$0.25}
Amount to balance against:
    3 Dimes {=$0.10}
  5 Pennies {=$0.01}
 2 Quarters {=$0.25}
Error: Transaction does not balance

How am I supposed to do this now? Thanks.

On Sun, Sep 5, 2010 at 9:54 PM, John Wiegley <[email protected]> wrote:

> I pushing to next some changes to the value expression syntax.  I'm doing
> this because there are other changes I wish to make in future, and I don't
> want to "bake in" any incompatabilities from the start.
>
> The main change is that function/value assignment is now done with "="
> instead
> of ":=", and comparison is done with "==" instead of "=".
>
> There is also a new lambda syntax, which is going to be used for the "any"
> and "all" functions, rather than the custom syntax now used.  For example:
>
>  old:   any(account =~ /Expenses/)
>  new:   any(x -> x.account =~ /Expenses/, posts)
>
> John

Reply via email to