WithStatement 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]
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

Method
Description
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
constructorInitialize an empty with statement


Properties

Property
Description
Body: StatementBody of the with statement
Items: List<WithItem>List of items in the with


See Also

Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox