WithStatement Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable] WithStatement = public class(Statement)
A with statement evaluates the value passed and stores it in the local it creates as part of the with statement. The WithItem class offers an option called "Matching". When this is true, it checks if the value is <> nil, if it is, it won't execute the body.
Namespace: Cirrus Statements
Members
| | |
|---|---|
| constructor(aBody: Statement; aItems: array of WithItem) | Initialize a new with statement |
| constructor(aName: String; aType: IType Interface; aValue: Value; abody: Statement) | Initialize a new with statement |
| constructor | Initialize an empty with statement |
Properties
| | |
|---|---|
| Body: Statement | Body of the with statement |
| Items: List<WithItem> | List of items in the with |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Statement Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To