Skip to content
Discussion options

You must be logged in to vote

Oh, I see, availabe in 5.4.0, otherwise it would feel like a bug.

Multi-Valued Variables

[New in v5.4.0](http://127.0.0.1:8080/#Release%205.4.0) The $let widget also allows [multi-valued variables](http://127.0.0.1:8080/#Multi-Valued%20Variables) to be set in one operation to the complete list of results obtained from evaluating an attribute.

Almost all operations that work with variables only consider the first item in the list. Using round brackets instead of angle brackets around the variable name gives access to the complete list of results. For example:

<$let varname={{{ [all[tiddlers]sort[]] }}}>
<$text text={{{ [(varname)] +[join[-]] }}}/>
</$let>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@linonetwo
Comment options

Answer selected by linonetwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant