Thanks  c pa. You made it. but I have to edit the macro like this

\define precalc(value, operation, by)
<$macrocall $name="calc" value=$value$ operation="$operation$"  by="$by$" 
decimals:2 />
\end

just delete the inverted comma before $value$. Thanks again.

On Tuesday, March 15, 2016 at 2:17:33 AM UTC+8, c pa wrote:
>
> OK I see that the field order contains a macro call so it needs to be 
> evaluated before you pass it to calc. So do the following:
>
> \define precalc(value, operation, by)
>     <$macrocall $name="calc" *value="$value$* *operation="*$operation$"  
> *by="*$by$" decimals:2 />
> \end
>
> <$macrocall $name="precalc" *value={{*!!order}} *operation="*/"  *by="*7"  
> />
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f443fb57-bca4-438d-8398-72cea2005b0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to