On Saturday, June 22, 2013 9:26:09 AM UTC-7, Craig Earls wrote:
>
> I have had a request to implent a feature in ledger-mode that should 
> be dead simple but ledger is surprising me: 
>
> 09:24:45 ~  > ledger reg Joint --sort "(abs( amount))" 
> While evaluating value expression: 
>   abs(amount) 
>   ^^^^^^^^^^^ 
> Error: Unknown identifier 'abs' 
> 09:25:02 ~  > 
>
>  


> I know that abs is a value expression function, why doesn't it work here? 
>
> -- 
> Craig, Corona De Tucson, AZ 
> enderw88.wordpress.com 
>

Hi Craig:

I really thought I would be able to figure this one out, but I've spent a 
lot of time on it today without success.  I don't get why this doesn't 
work.  There are several other value expression examples in the Ledger 
documentation that don't work, either.

I have a debug environment that will allow me to step through examples like 
this, and I was hoping that I would be able to help out with this kind of 
thing, but I confess that I could not follow the process that converts the 
sort options into executable actions.  I will have to study the code quite 
a bit more to be of assistance -- sorry.

Tim Crews

-- 

--- 
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/groups/opt_out.


Reply via email to