Moving Procedures

Before you move or copy a procedure to another place in a program or to a different program you should check the following:

The QA Build compiler will notify you of most problems that can be caused by moving a procedure.

To move a procedure:

  1. Create a new link at the point of insertion and type in the name of the procedure to be moved.
  2. Delete the procedure from its original position.

It may sometimes happen that you want to change the root procedure of your program, and make the current root procedure a subsidiary of the new root. The best and safest way to do this is as follows:

  1. Enter Zoom Mode
  2. Delete the root procedure of the Zoomed Procedure Tree
  3. Create the new root procedure as described in
  4. Insert the original root procedure as a subsidiary of the new procedure
  5. Cancel Zoom Mode
  6. Navigate to the root and select the Link option
  7. Change the procedure name for the link to the new root procedure