Like

\define do-us(num) 
<$list filter="[range<__num__>]">
thing to do <br/>
</$list>
\end

<<do-us 5>>



On Wednesday, October 9, 2019 at 5:52:58 PM UTC-7, David Allen wrote:
>
> I'm wanting to create a button a specific number of times.  This number is 
> calculated using values passed in to a macro, so I don't know what the 
> exact value will be every time.
>
> I'm thinking something along these lines:
>
> x=4
> <$list filter="limit of x">
> thing_to_do
> </$list>
>
> output should be: 
>
> thing_to_do
> thing_to_do
> thing_to_do
> thing_to_do
>
> I've seen this done somewhere before and I think it was blindingly easy 
> but I don't remember how it was done or where it was done and I can't seem 
> to google this problem right.  Anyone heard of this?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69380d48-b7e6-4dd6-829c-fb55643536c8%40googlegroups.com.

Reply via email to