ledger/sample.dat

22 lines
505 B
Text

;; If Python support is enabled, then the following code may be
;; uncomment to demonstrate a rather useless example.
; !python
; from ledger import *
; def foo(d, val):
; return val + d.xact.amount
; !end
;
; --value-expr 'foo'{$100}
2004/05/01 Checking balance
Assets:Checking $500.00
Equity:Opening Balances
2004/05/29 Book Store
Expenses:Books $20.00
Assets:Checking
2004/05/29 Restaurant
Expenses:Food $50.00
Liabilities:MasterCard