Progress
ADM 2 Guide
External Procedures, Internal Procedures, and Functions
An understanding of Progress 4GL procedure types is basic to an understanding of ADM super procedures. The ADM uses two Progress 4GL procedure types: external procedures and internal procedures. In addition, it uses 4GL functions. Internal procedures and functions are collectively referred to as methods:
- External procedures are procedure files that typically have a .w or .p extension. External procedures can become persistent procedures at run time. A persistent procedure is a run-time instance of an external procedure that stays in memory until it is explicitly deleted. SmartObjects are implemented as run-time instances of external procedures.
- Internal procedures are contained by external procedures. An internal procedure is a named entry point that can be executed by its containing external procedure or by other external procedures. Internal procedures represent actions that a SmartObject can perform.
- Functions are also contained by external procedures. A function, like an internal procedure, can be executed by its containing external procedure or by other external procedures. Functions also represent actions that a SmartObject can perform.
Figure 1–3 illustrates the relationship among external procedures, internal procedures, and functions.
Figure 1–3: External procedures, Internal Procedures, and Functions
![]()
For more information on procedure types, see the Progress Programming Handbook.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |