Group: type declaration
Topic: comments
Topic: program listing
Topic: programming style
| |
Summary
Programs are frequently split into sections. For instance declarations are specified separately from instructions, comment headings document each procedure, and procedures are specified before the program. The sections may specify program overlays or they may divide a program into single-entrance/exit modules. Program sections are heavily used in COBOL and RPG where programs are split into an environment division, a data division, input and output divisions, and calculation divisions. (cbb 5/80)
Subtopic: examples of program sections
QuoteRef: granRL_1970 ;;for simulation have block descriptors then system description specifying the interfaces
| QuoteRef: kuznOP6_1972 ;;957 section 1: i/o section 2: items and constraints 3: metadescription
| QuoteRef: nappRB2_1976 ;;26 macros defined ahead of program and of use
| QuoteRef: polsPG3_1973 ;;242 3 sections: declaration, control and report
| QuoteRef: seedH_1971 ;;37 program by specification of processor info, file descriptions, line counter (paging control), input specification, output specification and calculations.
| Subtopic: Cobol program sections
Quote: Cobol's data division provides physical and logical descriptions of files [»sammJE_1969, OK]
| Quote: Cobol makes clear distinctions between actions, data, and environment [»sammJE_1969]
| QuoteRef: sammJE5_1962 ;;123 four divisions (machine independence): id div, environment div (equipment data div (file and record descriptions), and procedure div
| QuoteRef: sammJE5_1962 ;;133 labeled units called paragraphs and sections of paragraphs for overlaying
|
Related Topics
Group: type declaration (5 topics, 110 quotes)
Topic: comments (23 items)
Topic: program listing (14 items)
Topic: programming style (47 items)
|