
5-12 Data Types
5-12
This drop-down list defaults to variable type Index, which is a
unitless, generic type. The Variable Changing macro can be used
to provide custom filtering of input values for a user variable if
desired.
5.5.2 Enumeration Data Type
When you select Enumeration as the User Variable type, the
Enumeration Values button appears directly below the
Dimensions drop-down list:
Click this button and the Enumeration Values property view,
containing a two-column matrix appears:
Entering text labels in the left column and corresponding
numeric values in the right column to define the enumeration.
The resulting Enumeration Variable appears in HYSYS property
views as a drop-down list containing these text labels. Selecting
one of these labels assigns the corresponding value to the User
Variable.
Figure 5.11
Figure 5.12
Refer to Section 5.6.1 -
Macros Tab for more
details.
Komentáře k této Příručce