7th March 2025 at 9:22pm
| purpose | assign the title list resulting from previous filter runs to a multi-valued variable |
|---|---|
| input | all titles from previous filter runs |
| output | an empty title list is always returned from the "let" filter run prefix |
The :let filter run prefix assigns the title list resulting from previous filter runs to a multi-valued variable. The variable is named with the first result returned by the filter run.
The variable is made available to the remaining filter runs in the filter expression. Only the first item in the result list is returned when the variable is accessed in the usual way (or an empty string if the result list is empty). Using round brackets instead of angle brackets around a variable name as an operand retrieves the complete list of items in the result list.
This prefix has an optional shortcut syntax symbol =>run. For example:
=[<myfun1>] =[<myfun2>] =>myvarThe :let filter run prefix always clears the current result list.