[doc] Remove unsupported value expressions
The following value expressions result in an error: A, B, g, G, I, v, V
Tested using:
% for o in A B g G I v V; do
ledger -f test/input/sample.dat -F "%(${o}(amount))\n" reg
done
While handling posting from "test/input/sample.dat", line 17:
> Assets:Bank:Checking $1,000.00
Error: The A value expression variable is no longer supported
...
[ci skip]
This commit is contained in:
parent
197fb6d9b6
commit
4ec3c93829
1 changed files with 0 additions and 24 deletions
|
|
@ -7753,13 +7753,6 @@ considering children.
|
||||||
The cost of a posting; the cost of an account, without its
|
The cost of a posting; the cost of an account, without its
|
||||||
children.
|
children.
|
||||||
|
|
||||||
@item v
|
|
||||||
The market value of a posting or an account, without its children.
|
|
||||||
|
|
||||||
@item g
|
|
||||||
The net gain (market value minus cost basis), for a posting or an
|
|
||||||
account, without its children. It is the same as @samp{v-b}.
|
|
||||||
|
|
||||||
@item l
|
@item l
|
||||||
The depth (``level'') of an account. If an account has one parent,
|
The depth (``level'') of an account. If an account has one parent,
|
||||||
its depth is one.
|
its depth is one.
|
||||||
|
|
@ -7792,19 +7785,6 @@ and all its children.
|
||||||
The total count of postings affecting an account and all its
|
The total count of postings affecting an account and all its
|
||||||
children.
|
children.
|
||||||
|
|
||||||
@item B
|
|
||||||
The total cost of all postings seen so far; the total cost of an
|
|
||||||
account and all its children.
|
|
||||||
|
|
||||||
@item V
|
|
||||||
The market value of all postings seen so far, or of an account and
|
|
||||||
all its children.
|
|
||||||
|
|
||||||
@item G
|
|
||||||
The total net gain (market value minus cost basis), for a series of
|
|
||||||
postings, or an account and its children. It is the same as
|
|
||||||
@samp{V-B}.
|
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node Functions, Operators, Variables, Value Expressions
|
@node Functions, Operators, Variables, Value Expressions
|
||||||
|
|
@ -7823,10 +7803,6 @@ The absolute (unsigned) value of the argument.
|
||||||
@item S
|
@item S
|
||||||
Strips the commodity from the argument.
|
Strips the commodity from the argument.
|
||||||
|
|
||||||
@item A
|
|
||||||
The arithmetic mean of the argument; @samp{Ax} is the same as
|
|
||||||
@samp{x/n}.
|
|
||||||
|
|
||||||
@item P
|
@item P
|
||||||
The present market value of the argument. The syntax @samp{P(x,d)} is
|
The present market value of the argument. The syntax @samp{P(x,d)} is
|
||||||
supported, which yields the market value at time @samp{d}. If no date
|
supported, which yields the market value at time @samp{d}. If no date
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue