This menu contains all functionality that is needed to create, modify, copy, or delete HDevelop procedures. To save procedures, refer to the File menu (section “Menu File”).
| Menu Entry | Description | Shortcut |
| Create New Procedure | Opens the procedure interface window to create a new internal or external procedure. More info | Ctrl+Shift+P,C or Ctrl+Shift+P,Ctrl+Shift+C |
| Duplicate... | Copy a procedure under a different name. Choose the procedure to be copied via Source. Enter the name of the copied procedure into Target. The copy retains the status (local or external) of the source procedure. The copy of an external procedure is placed in the same directory as the source procedure. Duplicating procedures that are protected with a password is also possible; see section “Protected Procedures”. The associated password is also used for the duplicated procedure. | |
| Edit Procedure Interface | Opens the procedure interface window and displays the interface of the current procedure. The menu item has the same effect as the button in the 程序窗口. The interface of protected procedures can only be edited after the corresponding password has been entered; see section “Protected Procedures”. | Ctrl+Shift+P,I or Ctrl+Shift+P,Ctrl+Shift+I |
| Delete Current | If the current procedure is a local procedure, it is deleted from the program and the main procedure becomes the current procedure. All calls to the local procedure in the current program are marked as invalid code. This item is disabled if the current procedure is the main procedure, or if it is an external procedure. | Ctrl+Shift+P,Del or Ctrl+Shift+P,Ctrl+Shift+Del |
| Delete All Unused Local | All local procedures that cannot be reached by any procedure call from the main procedure are deleted from the program. If the current procedure is among the deleted procedures, the main procedure becomes the current procedure. | |
| Insert Used As Local | The external procedures used in the current program are copied as local procedures. The external procedure files are left untouched. | |
| Insert All As Local | All external procedures are copied to the current program as local procedures, regardless if they are used or not. The external procedure files are left untouched. If your program contains protected external procedures, HDevelop issues a warning and inserts only the procedures that are not locked. For changing the status of a procedure, see section “Protected Procedures”. | |
| Make All External | Convert all local procedures into external procedures. Former local procedures are stored as external procedures in a selectable directory of the list of external procedure directories. More info | |
| Manage Procedures | Opens the dialog Preferences ▹ Procedures to configure procedure settings. More info | |
| Edit Procedure | Select a procedure for editing in the program window. This submenu lists all procedures in submenus, grouped by chapter and section title. More info | |