This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cp-v [2020/03/10 02:19] smj |
cp-v [2020/03/13 13:57] (current) smj |
||
---|---|---|---|
Line 117: | Line 117: | ||
40 HALT | 40 HALT | ||
- | + | ||
**__FORTRAN IV Example Session__** | **__FORTRAN IV Example Session__** | ||
+ | Using [[FORTRAN]] requires you to imagine you're using an imaginary key punch machine producing a card deck. Formatting is important. | ||
+ | |||
+ | * Putting a **C** in column 1 denotes a comment which the compiler will ignore | ||
+ | * Statement numbers can be in columns 1 - 5 | ||
+ | * Column 6 is reserved for **C** aka **TRANSFER CONTROL TO STATEMENT** | ||
+ | * Columns 7 - 55 are typically used for **STATEMENTS** | ||
+ | |||
+ | !TABS 7 | ||
!FORT ME OVER # | !FORT ME OVER # | ||
EXT. FORTRAN IV, VERSION E02 | EXT. FORTRAN IV, VERSION E02 |