ExitStatement Class
From The Oxygene Language Wiki
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
| | |
|---|---|
| constructor(aValue: Value) | Initialize this class with a value to be assigned on exit |
| constructor | Initialize this class without a value to be assigned on exit |
Properties
| | |
|---|---|
| ExitValue: RemObjects.Value | The value to exit with; or nil if there is no result or if the result value was used |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Statement Class
- ResultValue Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To