As Object Keyword (FPScript)

23.08.2021

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

Share article or send as email:

You might be interested in these articles