CaseValueItem Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
The CaseValueItem class is an element in a case expression. It consists of the possible values this element should trigger on, and the expression that should be triggered if the case condition matches those values. Note that the expression "1 .. 10" can be expressed as a new RangeValue(new DataValue(1), new DataValue(10)).
[Serializable] CaseValueItem = public class
Namespace: Cirrus Values
Members
| | |
|---|---|
| constructor() | Empty constructor |
| constructor(aCase: Value; aResult: Value) | Constructor with a single case element |
| constructor(aCases: array of Value; aResult: Value) | Constructor with multiple case values |
Properties
| | |
|---|---|
| Cases: List<Value> | Case condition |
| Result: Value | Result value if one of the cases matches the case condition |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- CaseValue Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To