Mark, Why don't use of *range* operator? look at: https://tiddlywiki.com/prerelease/#range%20Operator
This is equivalent to your code. Here you can set the upper range a big number like the last week number: 52 \define nextweek2(thisweek) <$list filter="[range[1,8,1]addprefix[0]] +[after[$thisweek$]]"/> -*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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/c4a92885-c397-4d14-a236-f3377b603d4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.