Conversion Operator

The Conversion operator allows to convert scalar elements of numerical or enumeration type to limitInt or wrapInt types. The function of the convert operator is determined either via the button used to create the operator or via the Conversion Type submenu in the operator's context menu.

The Use Limiters option in the operator's context menu is used to determine if the limits for the converted type are user-defined or not.

The Conversion option in the operator's context menu opens the Conversion Attributes dialog window, where you can enter min and max values and – for wrapInt – type for the conversion result.

See also

Scalar Types – Limited Integer

Scalar Types – Wrap-Around Integer

Conversion Attributes Dialog Window

Context Menu – Operators and Control Flow Elements: Conversion Operator

Examples: Conversion Operator

Using the Conversion Operator