Skip to main content
The FlexiLayout language supports implicit type conversion. Some conversions are always safe, while others are allowed but can fail at runtime and cause the compiler to display a warning.

Safe implicit conversions

The following conversions are always safe.

Conversions that may cause errors

The following conversions are allowed but can produce a runtime error. For example, converting XCoordinate to Distance and then Distance to YCoordinate can incorrectly convert an X-coordinate into a Y-coordinate. The compiler displays a warning when you use any of these conversions.