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
Product support community
Sage glossary
Sage University
Date published: 28 May 2026