How to: Edit Programs

After creating a program, you can make changes to it or an existing program.

NoteNote

After editing a program, make sure you save it.

To edit a standalone program

  1. On the File menu, click Open.

  2. In the Open dialog box, choose Program in the Files of type list to show only program files.

  3. Click the program you want to modify, and then OK.

To edit a program in a project

  1. Open the project for your application in the Project Manager.

  2. In the Project Manager, expand the Code node, and then the Programs node.

  3. 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:

       CopyCode imageCopy Code
      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:

       CopyCode imageCopy Code
      MODIFY COMMAND ?

See Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic