Table of Contents

TCodeWhileStatement.Create Constructor

Overloads

TCodeWhileStatement.Create(string)

Creates a while statement with the specified condition snippet.

Syntax

Unit: Bcl.Code.MetaClasses

constructor TCodeWhileStatement.Create(const ACondition: string);

Parameters

<-> Parameter Type Description
const ACondition string The raw condition expression text.

See also

TCodeWhileStatement.Create(TCodeExpression, TArray<TCodeStatement>)

Creates a while statement with the specified condition and body statements.

Syntax

Unit: Bcl.Code.MetaClasses

constructor TCodeWhileStatement.Create(ACondition: TCodeExpression; AStatements: TArray<TCodeStatement>);

Parameters

<-> Parameter Type Description
ACondition TCodeExpression The condition expression.
AStatements TArray<TCodeStatement> The statements in the loop body.

See also