diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ledger3.texi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 4ab8f4fd..051c7c76 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -2158,9 +2158,22 @@ alias Checking=Assets:Credit Union:Joint Checking Account @end smallexample The aliases are only in effect for transactions read in after the alias -is defined and are effected by @code{account} directives that precede +is defined and are affected by @code{account} directives that precede them. +Aliases can refer to other aliases, the following example produces exactly +the same accounts as the preceding one: + +@smallexample +alias Entertainment=Expenses:Entertainment +alias Dining=Entertainment:Dining +alias Checking=Assets:Credit Union:Joint Checking Account + +2011/11/30 ChopChop + Dining $10.00 + Checking +@end smallexample + @item assert @c instance_t::assert_directive An assertion can throw an error if a condition is not met during |