목록COBOL (14)
Gentle Breeze
▶ Basic PERFORM statement The procedures referenced in the basic PERFORM statement are executed once, and control then passes to the next executable statement following the PERFORM statement. Note: A PERFORM statement must not cause itself to be executed. A recursive PERFORM statement can cause unpredictable results. procedure-name-1, procedure-name-2 Must name a section or paragraph in the proc..
▶ PERFORM statement The PERFORM statement transfers control explicitly to one or more procedures and implicitly returns control to the next executable statement after execution of the specified procedures is completed. The PERFORM statement is: - An out-of-line PERFORM statement When procedure-name-1 is specified. - An in-line PERFORM statement When procedure-name-1 is omitted. An in-line PERFOR..
▶ EVALUATE The EVALUATE statement provides a shorthand notation for a series of nested IF statements. It can evaluate multiple conditions. The subsequent action depends on the results of these evaluations. - Operands before the WHEN phrase Are interpreted in one of two ways, depending on how they are specified: * Individually, they are called selection subjects. * Collectively, they are called a..