FOR statement
- Last Updated: January 21, 2021
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The FOR statement is similar to DO, but is specifically for iterating through records. The
FOR statement starts an iterating block that reads a
record from one or more tables at the start of each block iteration. The END statement terminates the FOR block.
Syntax
|
The following example uses a FOR EACH block to
iterate through the records in the Customer table:
|
For more information, see FOR EACH CUSTOMER in Develop ABL Applications.