Progress
Language Tutorial
for Windows


Summary

This chapter discussed those features of the Progress 4GL that allow you to control the flow of execution within your application. Here’s a summary of what you’ve learned.

Procedures and Include Files

In the Progress programming model the main procedure can access modules stored in separate subprocedures. A subprocedure can be either an internal or external procedure:

Sharing Information between Procedures

There are three basic strategies for passing data between procedures:

Blocks

Blocks are structures that let you group segments of code. Typically a block consists of a block header statement, Progress 4GL statements, and an END statement. Progress blocks include:

The control blocks include:

Conditional Processing Statements

There are two statements that allow you to test conditions and define which code branch to execute under which circumstances:


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095