Bundt Scripting Reference
·
Bundt Scripting Language version 1.0.1.0
create enum type
statement
Creates a new enumerated type in the context type model. If no type model is in context, an error occurs.
The created enumerated type is put in context.
Syntax
create enum type Name
[specializes GeneralizedEnumType]
[in Container]
Returns
The enumerated type just created.
Examples
Intent |
Code |
Create a new enumerated type with a simple name |
create enum type Colours; |
Create a new enumerated type with a multilingual name |
create enum type [en_GB: Colours, es_ES: Colores]; |
Create a new enumerated type in a package |
create enum type Colours in Design.Graphics; |
See Also
Contents distributed under a Creative Commons Attribution 4.0 International License
·
About
·
Terms of Use
·
Contact Us
·
last updated on 08 October 2020