list(expression_list)

Tinderbox Icon


Operator Type:   Function
Operator Scope of Action:   Item
Operator Purpose:   Data manipulation

list(expression_list)

This function returns the evaluated format of each of its comma-delimited argument list. New to v5.10.0. Arguments can be:

For example:

Code: list("This note 's $Width is "+$Width, "the $Xpos is "+$Xpos).format(" and ")+"!"

Value output: This note's $Width is 3 and the $Xpos is 36.5!

This example is not overly complex but points to how list() can be used in constructing output strings/lists that are otherwise difficult to create. The more complex the expressions passed to list() the greater the likelihood of geting no output - or an unexpected one. If complex inputs don't work consider using more parentheses to help TB figure the order of sub-task execution or else put the result of expressions into new attributes and then pass the value of the latter into list() as a parameter.


Possible relevant notes (via "Similar Notes" feature):

Up: Full Operator List
Previous: linkTo("item"[,linkType])  Next: List.isort([$Attribute]) 

A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : list(expression_list)

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox