Control blocks and output statements
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Control blocks and output statements
Compiling a report usually involves a straightforward
process of moving through a set of table records, calculating data,
and outputting results. A control block best handles the report-generating
process. Most reports use the FOR EACH block because
of its record-reading properties. For example:
|
The default frame of an iterating control block is a down frame.
The DISPLAY statement is ABL's main programming statement
for output. DISPLAY can output to printers and media
as well as the screen. Later, you'll learn about another output
statement and how to direct output.