6.17.7   Side Effects of Procedure Changes

Changing the Type or Name of a Local or Library Procedure

If the procedure type is changed to “external”, a new external procedure file will created in the specified directory. Changing the type “local” to “library” modifies the library file of the selected target library. Conversely, setting the type of a library procedure to “local” modifies the current program. In all these cases the option Duplicate internal procedure determines what happens with the original procedure.

If Duplicate internal procedure is unchecked, the local procedure is moved to the new location. Otherwise, the original local procedure is kept unmodified, and the external procedure gets created (along with other changes made in the dialog). In this case the newly created external procedure cannot be called from the program because the internal procedure has a higher priority.

Figure 6.55: Procedure type changed from local to external.

Changing the Procedure Type or Name of External Procedures

If the type or name of an external procedure is changed, you will have to decide whether the original file is kept. The following options are available:

Figure 6.56: Procedure type changed from external to local.