8. Using Vision Advanced Features : Using Local Procedures : Destroy a Local Procedure
 
Share this page                  
Destroy a Local Procedure
You can destroy a local procedure that you no longer are using for a frame. However, be sure that you delete all references to the procedure in the application, including any escape code, or Vision cannot compile and run your application.
To destroy a local procedure
1. Display the Edit Local Procedures window as described in Create a Local Procedure.
2. Position the cursor on the name of the procedure you want to destroy.
3. Select Destroy from the menu.
Vision asks you to confirm that you want to destroy the procedure you have selected.
4. Enter y and press Return.
Vision destroys the procedure and removes it from the Edit Local Procedures window display.
Any local procedures for a frame are destroyed automatically if you destroy the frame.