Algol 60 Programming 0070941424, 9780070941427

A guide to programming in Algol 60.

155 50 2MB

English Pages [184] Year 1972

Report DMCA / Copyright

DOWNLOAD FILE

Algol 60 Programming
 0070941424, 9780070941427

Table of contents :
1. Preface
2. Fundamental Concepts
1. Introduction
2. History of Algol 60
3. The metalanguage
4. Basic symbols
5. Scope of Algol 60
6. Comments
3. Arithmetic Expressions
1. Syntactic requirements
2. Numbers
1. Integer numbers
2. Decimal numbers
3. Arithmetic variables
1. Simple variables
2. Array variables
4. Variable declarations
1. Values and types
5. Simple arithmetic expressions
1. Exponentiation rules
2. Brackets and precedence rules
3. Type of result
6. Standard functions
7. Arithmetic expressions
8. Comments on array variables
4. Statements, Blocks, and Programs
1. Assignment statements
2. Compound statements
3. Blocks and programs
4. Go to statements
1. The switch declaration
2. Scope of labels
5. Own variables
5. Relations and Conditionals
1. Relations
2. Conditional arithmetic expressions
3. Conditional statements
1. Sequencing of conditional statements
6. The For Statement
1. Expression elements
2. Step-until elements
3. While elements
4. Some applications
5. Dummy for statements
7. Boolean Variables
1. Boolean operators
2. Declarations
3. Simple boolean expressions
4. Boolean statements
5. Application
6. Expressions
8. Procedures
1. Simple procedures
1. simple procedure calls
2. The parameter procedure
1. Specifications
2. The parameter procedure statement
3. Call by name or value
4. Expression parameters
5. Array parameters
6. Switch parameters
7. Procedure parameters
8. String parameters
3. Recursion
1. Recursive procedure calls
2. Recursive procedures
4. Code procedures
1. Machine/assembly codes
5. List procedures
9. Simple Input-Output
1. The seven primitives
1. Symbol transmission
2. Transfer of real values
3. Transfer of integer values
4. Transfer of arrays
10. Full Input-Output
1. Outline
2. Input-output procedures
3. Standard format
4. The format string
1. The format item
2. Format codes, insertions and replicators
3. Alignment marks
4. Title format
5. Non format
6. String format
7. Boolean format
8. Number format
9. Number input
5. Page layout
6. Transfer of lists
1. The descriptive procedures
2. A control procedure
3. Other procedures
7. Applications
11. Subset Algol 60
1. Integer divide
2. No own variables
3. Identifiers
4. Exponentiation
5. Designational expressions
6. For 1-loop variables
7. Call by name
8. Recursion
12. Appendix 1: Basic Symbols
13. Appendix 2: ISO Hardware Basic Symbols
14. Appendix 3: Syntax Summary
15. References
16. Index

Polecaj historie