Filed as a
Support request
. No response o I guess this isn't currently possible. But it
should be possible.
I'm trying to use
SpreadSheet Plugin to get REVINFO for a prior revision of a topic.
I can do this:
%CALC{"$SET(revC, %REVINFO{topic="FooTopic" "$rev"}%) }%
%CALC{"$SET(twoback, $EVAL($GET(revC)-2)) }%
%REVINFO{rev="%CALC{$GET(twoback)}%" topic="FooTopic"}%
However, I cannot do this:
%CALC{$SET(ModDate, %REVINFO{rev="$GET(twoback)" "$epoch"}% )}%
I've tried various permutations.
I don't just want to see the revinfo for the previous rev. I want to stick it into a variable. (This is part of a test to determine if content is older than a given date.)
This should work.
--
TWiki:Main/VickiBrown
- 22 Oct 2009
CALC is not evaluated with the standard left-right inside-out order. The evaluation order works as expected if you use CALCULATE instead. Setting this to "closed".
--
TWiki:Main.PeterThoeny
- 2013-10-18