CaseValueItem Class

From The Oxygene Language Wiki

Jump to:navigation, search

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

Method
Description
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

Property
Description
Cases: List<Value> Case condition
Result: Value Result value if one of the cases matches the case condition


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox