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.

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

Lessons