Creating & Using Nodes

Flow Chart Levels

After creating an empty application with the File New command, start in the main frame level. Nodes at this level should include frames and subroutines defining major steps in the application. Take advantage of the parent-child relationship to organize the application in a logical and maintainable fashion.

To access the steps within a frame or subroutine, double-click on the frame with the left mouse button or select View > Show Frame/Subroutine Nodes from the menubar. To return to the higher level, double-click on one of the Exit or Entry nodes or choose View > Show Calling Function from the menubar.

Frames

Each frame in a program flow chart represents a major function or option. Typically, a program's frames include a Main Menu frame and a frame for each option on the menu. Links connect the frames in a way that indicates program flow. Figure 29 shows the start frame of the sample2.scr application installed with PPG.

Figure 29. The Frames Level of a Program

To create the frames of a program flow chart, complete the following steps:

50

PT Program Generator (PPG) v5.0