6.8.3.4 Export Statement

Syntax

export variable...

Description

The export statement marks each formula variable in the export statement as a global variable. The values of the variables are retained until form exits; any formulas subsequently evaluated can refer to the value of an exported formula variable. Form does not automatically recalculate other formulas that depend on an exported formula variable when that exported formula variable changes.

The export statement is useful to allow formula variables to be available in other formulas.

The export statement returns an empty string as its value.

You cannot export field names or shell variables.

Example

export pricecode