Execute (FPScript)

21.09.2021

Interprets a string as FPScript code and executes it.

Syntax

Execute(FPScript [ , UpdateReferences = False ])

 

The syntax of the Execute function consists of the following parts:

Part

Description

FPScript

String with the FPScript code you want to execute.

Permitted data structures are scalar value. Supported data types are string.

UpdateReferences

The value TRUE ensures that formulas to which the FPScript code to execute refers are updated before execution.

Permitted data structures are scalar value. Supported data types are Boolean value.

If this argument is omitted, it will be set to the default value False.

Remarks

The FPScript code is evaluated like a formula and the result is returned.

Note        Use the string "\r\n" (CR LF) for a line break.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

Execute("Dim i = 3\r\ni * 10")

Results in 30.

Share article or send as email:

You might be interested in these articles