Read access to the unit of an object parameter.
Syntax
[Object].Parameters(Name).Unit
The syntax of the Parameters.Unit property consists of the following elements:
Element |
Description |
---|---|
Object |
Optional. The object being accessed. If you omit this element, then the current formula is accessed. In the case of embedded FPScript you have to use the This keyword. |
Name |
Required. A string with the name of the parameter. |
Available In
FlexPro Basic, Professional, Developer Suite
Examples
.\.Parameters("Calibration Value").Unit |
Accesses the unit of a parameter called "Calibration Value" that is stored in the folder where the formula is located. |
ChangeUnit(.Parameters("Sampling Rate"), .Parameters("Sampling Rate").Unit) |
Recombines the value and unit of a quantity "Sampling Rate", which is stored in the parameter list of the formula. |