Version where you don't have to specify range by hand
\define color-price(end)
<$list filter="[range[1,$end$]]" variable="index">
<$list filter="[enlist:raw{!!select-color}nth<index>]" variable="color">
<$list filter="[enlist:raw{!!price-select-color}nth<index>]"
variable="price">
<<color>> - <<price>>
</$list></$list></$list>
\end
<$list filter="[enlist:raw{!!select-color}count[]]" variable="end">
<$macrocall $name="color-price" end=<<end>>/>
</$list>
On Sunday, December 6, 2020 at 6:50:18 AM UTC-8 Mark S. wrote:
> Something like this, maybe:
>
> <$list filter="[range[1,4]]" variable="index">
> <$list filter="[enlist:raw{!!select-color}nth<index>]" variable="color">
> <$list filter="[enlist:raw{!!price-select-color}nth<index>]"
> variable="price">
> <<color>> - <<price>>
> </$list></$list></$list>
>
>
>
>
>
>>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/81a527a5-17fd-4131-a4d2-7922734e86c4n%40googlegroups.com.