242 Programming: Subprograms and Program Section Repeats
8.5 Nesting
8.5 Nesting
Types of nesting
îš„ Subprograms within a subprogram
îš„ Program section repeats within a program section repeat
îš„ Subprograms repeated
îš„ Program section repeats within a subprogram
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
îš„ Maximum nesting depth for subprograms: 8
îš„ Maximum nesting depth for main program calls: 6, where a G79 acts
like a main program call
îš„ You can nest program section repeats as often as desired