2014-04-10 18:56:51 +00:00
created: 20140410103123179
2015-01-24 21:18:44 +00:00
modified: 20150124171748000
tags: [[Filter Operators]] [[Field Operators]] [[Order Operators]]
title: previous Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
2015-01-24 21:18:44 +00:00
caption: previous
purpose: find which titles in a <<.field list>> field precede the input ones
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
<$macrocall $name=".operator-def"
input="a [[selection of titles|Title Selection]]"
parameter="a tiddler title"
paramName="t"
output="a selection containing each title that immediately precedes each of the input titles in the <<.field list>> field of <<.place t>>"
/>
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
Each input title is processed in turn, and its predecessor is located in the <<.field list>> field and appended to the output. If a title is not listed in the field, or is the first item there, then it contributes nothing to the output.
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
<<.operator-examples "previous">>