Hi Hans This seems like an effective way to implement "IF ... THEN ... ELSE" > capabilities within a List filter, which I think could be very useful. >
There are several conditionals within filters (eg, [tag[blah]]), and we will be adding more. > It would be especially nice to be able to compare each of the result > lines and Rank (perhaps simply by sorting) them in various ways. I don't > know enough about Filters and Operators yet to know if this is a valid > approach, but I can certainly see cases in which I would make extensive use > of it. That being said, > There's an example of nesting list widgets to create groups at the end of this tiddler: http://tiddlywiki.com/static/ListWidget.html We need more flexible comparison operators to make the technique really useful. > Am I simply still unaware of other ways of post-processing List results > that would be preferable? I'm asking only because I'm preparing to design > some of my Tiddlers in the hopes that some of them will also survive "the > next 25 years" "-) and I'd like to make sure I starting moving in the right > directions. > The basic mechanism used by TW5 to handle lists has I think proved itself. The key is the way that the items of the list are rendered repeatedly, each with their own value for the variable used by the list widget. After a while it starts to feel much like traditional nested loops in a programming language. Best wishes Jeremy > > Regards, > Hans > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
