>>>>> "JS" == Joel Swanson <[email protected]> writes:

JS> What's a valexpr function? I'm trying to understand what sorts of things I
JS> could do by embedding python in my ledger files, but the one example in
JS> the documentation isn't clear to me.

When you limit the computed postions, such as by --limit 'amount > 100', the
expression used by --limit (and many other options) is called a "value
expression", or valexpr for short. It's an expression that always evaluates to
a value. :) Bad name, but it stuck.

You can increase the valexpr vocabulary by defining Python functions.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to