Name

To Keyword

Syntax

for Variable := Expr1 to Expr2 do Statement

Description

The to keyword is part of a for loop that counts up. See the explanation of the for loop for details.

See Also

Downto Keyword, For Keyword

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.