Skip navigation

FlexPro Documentation 2025

As Object

Interprets a path name as an object reference instead of a value.

Syntax

PathName As Object

 

The syntax of the As Object statement consists of the following elements:

Element

Description

PathName

The path name of a data set or other object for which an object reference is to be made.

Available In

FlexPro View, Basic, Professional, Developer Suite

Example

Dim Obj = DataSet As Object

Obj.Unit

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

MyFunction(Formula As Object)

passes an object reference to Formula to an FPScript function.

 

See Also

Set Statement

FlexPro Documentation 2025

As Object

Interprets a path name as an object reference instead of a value.

Syntax

PathName As Object

 

The syntax of the As Object statement consists of the following elements:

Element

Description

PathName

The path name of a data set or other object for which an object reference is to be made.

Available In

FlexPro View, Basic, Professional, Developer Suite

Example

Dim Obj = DataSet As Object

Obj.Unit

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

MyFunction(Formula As Object)

passes an object reference to Formula to an FPScript function.

 

See Also

Set Statement