Hello,
want to show the title of a chain of tiddlers which mention the next on in a field called thread.
This works fine like this

   \define plotchain()
   <$set name="chain" value="JJ/Das merkwürdige Tier">
   $(chain)$
   <<reku>>
   </$set>
   \end
   \define chainer() [[$(chain)$]]
   \define reku()
   <$list filter="[list[$(chain)$!!thread]]
   [list[$(chain)$!!storylink]]" variable="chain">
   <<chainer>>
   <<reku>>
   </$list>
   \end

   <$vars chain="JJ/Das merkwürdige Tier">
   <<chainer>>
   <<reku>>
   </$vars>

But if someone builds a cirle this crashes the wiki.
Is there a way of limiting recursions e.g. by using a filter with math-operators?

Thanks!
Jan


--
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/5DA7A25D.7010101%40googlemail.com.

Reply via email to