2009/9/3 Eemeli Aro <[email protected]>:
> Alternatively, the MarkupExpresssionSamples page also has {(sum)},
> with which the template should be:
>
> [[#datasum]](:template first:){(sum (:template
> each:){=$:DATA}(:template last:) )}
> [[#datasumend]]
Drat, the lines were mangled, and just after posting I noticed a bug
in the above. So here's a correct version using {(sum)}, but you'll
need to remove the newlines before each (:template ...:):
[[#datasum]]
(:template first:){(sum
(:template each:) {=$:DATA}
(:template last:) )}
[[#datasumend]]
eemeli
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users