ExitStatement 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.


[Serializable]
ExitStatement = public class(Statement)

This class represents an 'exit' statement, with an optional value specified. Placing this will exit the method at that point in the expression, and if a value is passed, use that as a result. Note that jumping out of a finally statement is not allowed and will fail compiling.

Namespace: Cirrus Statements


Members

Method
Description
constructor(aValue: Value)Initialize this class with a value to be assigned on exit
constructorInitialize this class without a value to be assigned on exit


Properties

Property
Description
ExitValue: RemObjects.ValueThe value to exit with; or nil if there is no result or if the result value was used


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox