Does it need to be open-ended, or is there some reasonable upper limit? You could use:
\define mac(num) <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 +[first[$num$]]"/> \end <<mac 5>> On Friday, June 2, 2017 at 10:12:41 AM UTC-7, [email protected] wrote: > > I have a scenario where i'd like to have a macro take a single number that > is # of times to repeat and iterate. > > I believe i can use <$list filter="[1 2 3 4 5 6 7]"...... But i really > don't wants to have to set that as the arg to the macro. > > <<myMacro 5>> is so much nicer than <<myMacro [1 2 3 4 5]>> > > Is there a TW5 way to create a numbered list from N to M? > -- 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/f12e3ab4-09eb-49a6-91c6-f37c85ecf557%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

