FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

flexpro.list

Creates a flexpro.Data object that represents a FlexPro data structure "List".

Syntax

flexpro.list(ListElement1, ListElement2, ...)

 

The syntax of the flexpro.list function consists of the following elements:

Element

Description

ListElement1, ListElement2, ...

Any number of list elements. These can be flexpro.Data() objects or any Python data that can be converted into FlexPro data.

Result

The newly created flexpro.Data object of type "List".

Available In

FlexPro Professional, Developer Suite

Examples

this.data = flexpro.list(s1, s2)

Creates a FlexPro list with two elements with the values of the variables s1 and s2.

this.data = flexpro.list("a", flexpro.list("b", "c"))

Lists can also be nested.

this.data = [s1, s2]

A Python list is supported in the same way as a FlexPro list. However, this is converted into a FlexPro list as a result of the assignment.

 

See Also

flexpro.named_list Function