TCodeConditionStatement Class
Represents an if..then..else conditional statement.
Syntax
Unit: Bcl.Code.MetaClasses
TCodeConditionStatement = class(TCodeStatement);
Constructors
| Name | Description |
|---|---|
| Create | Overloaded Create(string) Create(TCodeExpression, TArray<TCodeStatement>) Create(TCodeExpression, TArray<TCodeStatement>, TArray<TCodeStatement>) |
Properties
| Name | Description |
|---|---|
| Condition | Gets or sets the condition expression. |
| TrueStatements | Gets the statements executed when the condition is True. |
| FalseStatements | Gets the statements executed when the condition is False. |