Introduction
Getting Started
Basic Syntax
Structures
Enumerations
Roles
User Interface
Procedures
Expressions
Translators
Contact, Questions, Discussion
Legal Notes
Updated 02/08/2018
All contents and concepts
©Webware nach Maß |
The Readable Programming Language - Handbook |
EnumerationsDefinitionEnumerations are usually defined by a "is one of" sentence, and used as a type for attributes. All values must be defined in one sentence. Anonymous enumerationsIt is also possible to define anonymous or inline enumerations when defining an attribute: Enumerated attributes with multiple valuesIt is possible to make lists of enumeration values. User interfaceSingle value enumerated attributes are edited with a dropdown-menu (HTML select). Multiple value enumerated attributes are edited with a series of checkboxes. NumberingDefining each value of an enumeration with a numeric prefix allows to sort them and to compare them with numbers. |