Discussion Overview
The discussion revolves around the interpretation of specific lines of FORTRAN code, particularly focusing on the arithmetic IF statement and the FORMAT statement used in the code. Participants seek clarification on the meaning of the statement numbers (200, 100, 100) and the significance of the Hollerith format (1H1).
Discussion Character
- Technical explanation
- Debate/contested
- Meta-discussion
Main Points Raised
- Some participants explain that the line (200,100,100) represents an arithmetic IF statement, directing the flow of execution based on the value of NR: to statement 200 if negative, to 100 if zero, and to 100 if positive.
- Others clarify that the 1H1 in the FORMAT statement refers to one Hollerith character, specifically the character '1', and suggest that this method is an older way of specifying characters in FORTRAN.
- A participant notes that the use of Hollerith format may be tied to specific behaviors in output formatting on older machines, such as causing page ejects or double spacing.
- There is a suggestion that the code is quite old, but some argue that similar constructs are still understood in modern systems.
- One participant advises against posting multiple questions in different threads and suggests conducting further research for additional FORTRAN statements.
Areas of Agreement / Disagreement
Participants generally agree on the interpretation of the arithmetic IF statement and the meaning of the Hollerith format, but there is some uncertainty regarding the implications of using such old code and its relevance in modern programming contexts.
Contextual Notes
Some participants mention that the understanding of Hollerith format and its implications may depend on the specific machine architecture and historical context of the code.
Who May Find This Useful
Individuals interested in FORTRAN programming, particularly those dealing with legacy code or exploring older programming paradigms, may find this discussion beneficial.