Paragraphs and sections

A paragraph header, a section, and the scope a PERFORM gives them. The fall-through that prints a line twice is shown next to the EXIT that stops it, and the overlapping ranges of PERFORM THRU get the one rule that keeps them sane. The part closes on a recursive program and on a long paragraph split into four.

7.1 Paragraphs and sections a paragraph header, a section, PERFORM scope, and a name the compiler keeps Open 7.2 Scope and fall-through what runs after a paragraph, EXIT, and a fall-through bug that prints twice Open 7.3 PERFORM THRU pitfalls overlapping ranges, a GO TO out of a range, and the one rule that keeps it sane Open 7.4 Recursive COBOL IS RECURSIVE, LOCAL-STORAGE, a factorial, and what happens without LOCAL-STORAGE Open 7.5 A main loop and a refactor a sixty-line paragraph split into four, the same output, and the check that proves it Open

Lessons