This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cp-v [2020/03/10 02:18] smj |
cp-v [2020/03/13 13:57] smj |
||
---|---|---|---|
Line 66: | Line 66: | ||
O GRAN HR:00 MO/ | O GRAN HR:00 MO/ | ||
- | + | | |
- | + | ||
C 3 18:00 02/ | C 3 18:00 02/ | ||
K 7 14:00 01/ | K 7 14:00 01/ | ||
Line 118: | 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 |