2014-04-10 18:56:51 +00:00
|
|
|
created: 20140410103123179
|
2015-01-24 21:18:44 +00:00
|
|
|
modified: 20150124204544000
|
|
|
|
tags: [[Filter Operators]] [[Common Operators]] [[Order Operators]] [[Negatable Operators]]
|
|
|
|
title: limit Operator
|
2014-04-10 18:56:51 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-24 21:18:44 +00:00
|
|
|
caption: limit
|
|
|
|
purpose: select the first or last <<.place n>> input titles
|
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="an integer, defaulting to 0"
|
|
|
|
paramName="n"
|
|
|
|
output="the first <<.place n>> input titles"
|
|
|
|
negationOutput="the last <<.place n>> input titles"
|
|
|
|
/>
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
`limit[n]` and `!limit[n]` are synonyms for `first[n]` and `last[n]` respectively.
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.operator-examples "limit">>
|