Partager via


Working with Programs

Program files contain code for executing a series of instructions. Storing code in a program (.prg) file offers benefits such as the following:

  • You can create and save programs to run later instead of running them immediately.

  • You can edit programs in Visual FoxPro editing windows and format code blocks or entire program files.

  • You can edit and run programs multiple times.

  • You can run programs from menus, forms, and toolbars.

  • You can use programs to run other programs.

When your program is part of a project, you can also search for and replace code references and text and view definitions of code elements found in searches in the current program file. For more information, see How to: Search For Code References and How to: View Code Definitions.

In This Section

Related Sections

  • Programming in Visual FoxPro
    Describes how understanding object-oriented programming techniques and the event-driven model can maximize your programming productivity and enable you to access the full power of Visual FoxPro.
  • Development Productivity Tools
    Describes Visual FoxPro developer tools that you can use for application development within the FoxPro application and the FoxPro language.