Control Flow view
Use the Control Flow view to display the flow of control within the procedures that make up your program.
To open the Control Flow view
- From the View menu, select Control Flow.
- Right-click any procedure box in the structure chart, then select Show Control Flow from the shortcut menu.
If you cannot display the control flow graph, check the Diagnostics view. Certain E-level (error) messages can stop the control flow graph from generating. If this happens, check the Diagnostics view. These include E002, E005, E020, E021, E022, E026, S001, S004, and S005.
The control flow graph has the following graphics:
- Boxes. Each box represents a code block, which is a sequential group of statements in a program. A code block has one entry point and one exit point. The line number on the box corresponds to the first line of the code block. If the code block represented is an invisible statement (an internally generated statement), the line number shown will be replaced by ellipses (.....). This is the case with generated scope terminators, periods, and label-returns. If a box is highlighted in red, the block contains a data name that is in the Find Indirect dialog box.
- Rounded Boxes. Each rounded box represents the statement or code block where control leaves the procedure.
- Lines. Each line represents the flow of control between two code blocks.
You may not see all of these graphic elements at once in the Control Flow. The complexity of your program directly affects what you see in its graphic representation.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*