Murach's Structured COBOL
Chapter 5 How to use the features for structured coding
Introduction to structured programming 176
The three valid structures 176
The principles of substitution and combination 178
From theory to practice 178
Shop standards for structured coding 180
How to code conditions 182
How to code relation, sign, and class tests 182
How to code compound conditions 184
How to code and use condition names 186
How to code selection and iteration structues 188
How to code If statements 188
How to code nested If statements 190
How to code Perform Until statements with tests before and after 192
When and how to code inline Perform statements 194
How to code Perform statements with Varying and Times clauses 196
How to use Evaluate statements 198
How to use an Evaluate statement instead of nested If statements 198
How to use Evaluate statements to implement case structures 200
The complete syntax of the Evaluate statement 202
Other features for improved coding 204
How to use Set to True statements 204
When and how to use structured delimiters 206
When and how to use Not clauses 208
A program that prepares a two-level summary report 210
The program specifications 210
The structure chart 212
The COBOL code for the primary control module 214
Perspective 216
t
[Prev]
[Next]
[Book summary]