How to: Create Programs
You can create a standalone program, a program as part of a project, or programmatically.
Note
After creating a program, make sure you save it. If you try to close an unsaved or modified program, Visual FoxPro prompts you to save the program or discard changes.
To create a standalone program
On the File menu, click New.
In the New dialog box, click Program, and then New File.
In the editing window, type the code for the program.
To create a program in a project
Open the project for your application in the Project Manager.
In the Project Manager, expand the Code node.
Click Programs, then New.
In the editing window, type the code for the program.
To create a program programmatically
- In the Command window, use the MODIFY COMMAND to open an editing window.
See Also
Tasks
Reference
Command Window (Visual FoxPro)