bdfs1m17Structured Programming Macros

Selection and Iteration Macro Groups

The following section shows the processing flow of the selection and iteration macro groups.

#CASE Macro Group Processing

Figure 5 shows the processing flow of the #CASE macro group.

Figure 5. Selection: #CASE Macro Group. In this diagram, the boxes with broken lines are optional.




#DO Macro Group Processing

Figure 6 shows the processing flow of a #DO WHILE loop.

Figure 6. Iteration: #DO Macro Group with the WHILE Parameter. In this diagram, the boxes with broken lines are optional.




Figure 7 shows the processing flow of a #DO UNTIL loop.

Figure 7. Iteration: #DO Macro Group with the UNTIL Parameter. In this diagram, the boxes with broken lines are optional.




Figure 8 shows the processing flow of a #DO TIMES or #DO FROM loop.

Figure 8. Iteration: #DO Macro Group with the FROM or TIMES Parameter. In this diagram, the boxes with broken lines are optional.




Figure 9 shows the processing flow of a #DO INF loop.

Figure 9. Iteration: #DO Macro Group with the INF Parameter. In this diagram, the boxes with broken lines are optional.




#IF Macro Group Processing

Figure 10 shows the processing flow of the #IF macro group.

Figure 10. Selection: #IF Macro Group. In this diagram, the boxes with broken lines are optional.