The Enum with Units Example is an example where the input parameter (L) has units. In this case, the units are length. The list of possible inputs are limited to three values: 4.2ft,12in,32m with a default of: 4.2ft.
Note: the default can be different from the list, but this is not recommended.
No comments |