Create a variable
Create a variable in
Project view
.- InProject view, select the folder or object to contain the variable.
- In theProject viewtoolbar, select
Add newand then selectVariable. - (optional) To change the variable data type, inProperties, next to the variable name, select the existing data type and then select another data type.TIP:If you do not see the required option, selectShow all. Start typing to select the item to find.To define an array, selectArrayand then enter the array dimensions. Enter0to create an unconstrained array.
- (optional) InProperties, select, select
Display name, and enter the display name. - (optional) InProperties, select, select
Description, and enter the description.
- (optional) Set the unit of measure for a variable.
- (optional) Add a range to a variable.
variable
Provide Feedback
