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

Set

Assigns an object reference to a variable or a list element.

Syntax

Set Target = Expression

 

The syntax of the Set statement consists of the following elements:

Element

Description

Target

Expression that refers to a variable or a list element.

Expression

Any expression that returns an object reference.

Available In

FlexPro View, Basic, Professional, Developer Suite

Examples

Set Obj = DataSet

Obj.Unit

assigns to the Obj variable a reference to DataSet. The data set's Unit property is then accessed.

Set List.[1n] = Formula

is an assignment of a reference to Formula to the second element in the list stored in List.

 

See Also

Assignment

Indexed Assignment

As Object Keyword