Pattern
patterns available for constructs requiring a selection by case.
Syntax
A pattern can be one of the following:- a path identifier for an enumerator name or variant case name
path
- a path for a variant where carried value is ignored
path _
- a path for a variant case which does not carry any value
path {}
- an integer value or an integer value with its integer representation (binary,
decimal, int32
...)
-? INTEGER or -? TYPED_INTEGER
- a character
CHAR
- a Boolean
true or false
- the default matching any case (two equivalent
notations)
_ or default