On Sunday, March 18, 2018 at 11:01:58 PM UTC+1, Joe Armstrong wrote: > > > 4) Execute a loop >
In TW everything, that needs looping is done with the <$list widget <https://tiddlywiki.com/#ListWidget>. It's main purpose is to iterate over a defined set of tiddlers. The set of tiddlers is defined using the filter <https://tiddlywiki.com/#Filters>-attribute. eg: <$list filter="one two three"> <<currentTiddler>>, </$list> The "loop-variable" can be defined: <$list filter="one two three" variable="loop-var"> <<loop-var>>, </$list> The list widget can be nested: <$list filter="one two three" variable="outer"> <$list filter="a b c" variable="inner"> <<outer>>-<<inner>> </list> </$list> Lists can be super complex. ... So these examples, only scratch the surface of the possibilities. have fun! mario -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c7098f6-b7da-4b3e-811d-57f9feb8b24d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

