A partial solution

<$set name=selected value=7>
<$list filter="[range[1,10]]"  variable="item" >
<$list filter="[range[1,10]allbefore<selected>] +[prefix<item>]">
<<currentTiddler>>  is before selected item: <<selected>><br>
</$list>
</$list>
</$set>



This works, any better idea? Any TW intrinsic solution?


--Mohammad

On Friday, August 2, 2019 at 4:59:10 PM UTC+4:30, Mohammad wrote:
>
> I have a list of tiddlers, I iterate over the list and I want to know if 
> an item is before or after the selected item!
>
> How to do this?
>
>
> --Mohammad
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f72e4878-f7a2-4184-b3b9-366ed324eae5%40googlegroups.com.

Reply via email to