Rename a Local Procedure
You can change the name of a local procedure you have defined. You must change the name in the source code of the procedure as well as in the Edit Local Procedures window. You also must change the name at each place you use the procedure throughout the application, including any escape code.
To rename a local procedure
2. Position the cursor on the name of the procedure.
3. Select Rename from the menu.
Vision prompts you for the new name.
4. Enter a new name for the procedure.
5. Press Return.
Vision displays a warning that you must change the procedure name in the text of the procedure.
6. Press Return.
The new name of the procedure appears in the Edit Local Procedures window.
7. With the cursor on the new name, select Edit from the menu.
8. Select EditSource.
9. Change the procedure name in the first line of code:
PROCEDURE newname() =
10. Select Save.
11. Select End.
The new name appears in the Edit Local Procedures window.
Last modified date: 08/28/2024