How to: Edit Programs
After creating a program, you can make changes to it or an existing program.
Note
After editing a program, make sure you save it.
To edit a standalone program
On the File menu, click Open.
In the Open dialog box, choose Program in the Files of type list to show only program files.
Click the program you want to modify, and then OK.
To edit a program in a project
Open the project for your application in the Project Manager.
In the Project Manager, expand the Code node, and then the Programs node.
In the Programs node, select the program you want, and click Modify.
To edit a program programmatically
In the Command window, perform one of the following:
Use the MODIFY COMMAND with the name of the program (.prg) file to open an editing window for the program. For example:
MODIFY COMMAND MyProgram
Use the MODIFY COMMAND with a question mark (?) to display the Open dialog box so you can browse for and select a program file. For example:
MODIFY COMMAND ?
See Also
Tasks
Reference
Command Window (Visual FoxPro)