Adding internal procedures

The OpenEdge Editor provides a wizard that helps you add internal procedures to a procedure file. To use this wizard:

  1. Select Source > Add Procedure. The Add Procedure dialog appears.
  2. If the current file is an ABL procedure file, then go to step 3.

    Otherwise, if the current file is an AppBuilder procedure (adm1 or adm2) file, do one of the following:

    • Select the Procedure option to to create a procedure.
    • Select the Override option to have the Procedure name field display a list of the procedures for which you can create overrides.
      Note: This list is the internal procedures of all or Super Procedures defined for the procedure file. This option is disabled when there are no procedures to override.
  3. In the Procedure name field, specify a procedure name. Also choose whether to include a CATCH block and/or a FINALLY block for structured error handling.
  4. Choose an insertion position.
    • Alphabetical order - Insert a code prototype based on its name. Case is ignored.
    • Cursor position - Insert code prototype at the current position of the cursor in the file.
    • First/Last - Insert the code prototype as the first or last item.
    • After name - Insert the code prototype after the named procedure.
  5. Click OK.
The OpenEdge Editor inserts the internal procedure.