That will do perfectly!
In my situation, I always know what the max is, or what a reasonable upper 
limit will be.

Now..l.. just have to try to understand WHY it works :)
Time for me to go re-read the filter pages.

Thank you for the assistance.


On Friday, June 2, 2017 at 1:41:28 PM UTC-5, Mark S. wrote:
>
> 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/22af6f64-aef6-43dd-9456-1d54464ff2d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to