Thank you Tony! Most of the time n is unknown in advance so, the question is how write a macro or a code to generate <<numb n>> 0, 1, 2, 3, ...., n
/Mohammad On Wednesday, June 27, 2018 at 10:20:41 AM UTC+4:30, TonyM wrote: > > Mohammad, > > In many cases the following may be enough? > > <$list filter="0 1 2 3 4 5 6 7 8 9" variable="units"> > <<units>> > </$list> > > or > > > <$list filter="1 2 3 4 5 6 7 8 9 10 11 12" variable="set"> > <<set>> > </$list> > > or > > <$list filter="0 1 2 3 4 5 6 7 8 9" variable="tens"> > <$list filter="0 1 2 3 4 5 6 7 8 9" variable="units"> > <<tens>><<units>> > </$list> > </$list> > > > > Regards > Tony > > On Wednesday, June 27, 2018 at 2:39:48 PM UTC+10, Mohammad wrote: >> >> Is it possible to create a list of numbers say from 0 to n? >> For example having a macro like *numb* and then >> >> <<numb 10>> >> >> creates >> 0 1 2 3 4 5 6 7 8 9 10 >> >> >> >> or >> >> <<numb 4>> >> >> produces >> 0 1 2 3 4 >> >> >> >> Thank you >> 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 [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/70b5ca3b-207b-4aa7-a27a-e6410a1a5385%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

