To is used in the For syntax to indicate the limit of a loop value. It was also used by syntaxes that are now deprecated.
To
Sage Support Hub (opens in a new tab)
Product support community (opens in a new tab)
Date published: 19 March 2026
View the policy (effective November 2024)