User Tools

Site Tools


cp-v

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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. ​ To make things easier, set !TABS 7 to get to the CONTROL column from there you can <​SPACE>​ once to get to the STATEMENT columns.
 +
 +  * 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
cp-v.txt · Last modified: 2020/03/13 13:57 by smj