Add Procedure wizard
- Last Updated: April 17, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The Add Procedure wizard helps you add internal procedure code to an ABL procedure or include file.
This wizard appears when you select .
The following controls are available:
| Procedure | (Required) Select this option to create a
procedure. Enter a procedure name in the Procedure name field. Note: This
option is available only if the current file open in the ABL
Editor is an ADM (adm1 or adm2) file. |
| Override | (Required) Select this option to have the
Procedure name field
display a list of the procedures for which you can create overrides.
This list is the internal procedures of all or Super Procedures
defined for the procedure file (excluding those internal procedures
defined as PRIVATE). This option is disabled when there are
no procedures to override. Note: This option is
available if the current file open in the ABL Editor is an ADM
(adm1 or adm2) file. |
| Procedure name | (Required) Specifies the name of the procedure. |
| Insert catch block | If checked, adds a CATCH block to the generated procedure stub to support structured error handling. |
| Insert finally block | If checked, adds a FINALLY block to the generated procedure stub to support structured error handling. |
| Private | Specifies the access modifier that applies to a procedure. If selected, the procedure cannot called from any other ABL procedure file. |
| DB-Required | If checked, a preprocessor directive is wrapped
around the generated procedure allowing it to be conditionally
excluded from compilation. For more information, see Specify DB-Required code blocks. Note: A
procedure that is not DB-Required is excluded from a data
object's client proxy r-code file and
only included in the data object's main r-code file. |
| Insertion position | Determines where the procedure code is inserted in the source file. |