Part 2-Writing The 1620 Fortran Program; The Fortran Coding Form - IBM 1620 Manual

Hide thumbs Also See for 1620:
Table of Contents

Advertisement

Part 2-Writing the 1620 FORTRAN Program
The FORTRAN Coding Form
This part of the manual explains how each
FORTRAN
statement is prepared and
how they can be combined to solve problems in engineering and science. The
terms Processor, Source Program, Object Program, and Compile Time are used
throughout this part of the manual. If you are not certain of the meaning of each
of these terms, you should review
INTRODUCTION TO FORTRAN
in Part 1.
In the previous section of the manual we learned that a
FORTRAN
program
solves a problem by carrying out the instructions given by a series of statements.
These statements can be arranged into four groups:
Input/output statements that read data into the program or print and punch
the results of the program.
Control statements that may determine the sequence in which the state-
ments will be followed or provide the program with the ability to deal with
predefined exceptions to the procedure.
Specification statements that tell the
FORTRAN
program the amount and kind
of input and output data it will process.
Arithmetic statements that specify the mathematical calculations to be
performed.
A
FORTRAN
coding form is available for use as a guide when preparing a source
program. Besides providing a written record of the program, the form facilitates
the subsequent transfer of the source statements to cards or paper tape (see
THE
FORTRAN CARD).
IBM
FORTRAN CODING FORM
Program
_ _ _ _ _ _ _ _
Coded By _ _ _ _ _ _ _ _
Dale _ _ _ _
Checked By
_ _ _ _ _ _ _ _
Identification
Page _ _ of _ _
FORTRAN STATEMENT
The
FORTRAN
coding form consists of 21 lines, each of which is used to record
one
FORTRAN
statement. Each number, letter, and special character of a statement
is written in a separate column. Statements must be written one to a line and must
start and finish on the same line. Any number of blanks may be included in a state-
ment.
Writing the 1620 FORTRAN Program
.Z1

Advertisement

Table of Contents
loading

Table of Contents