EasyManuals Logo
Home>IBM>Desktop>1620

IBM 1620 User Manual

IBM 1620
111 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #82 background imageLoading...
Page #82 background image
END
Format:
Purpose:
Example:
FORMAT
Format:
Purpose:
Example:
GO
TO
Format:
Purpose:
Example:
Computed
GO
TO
Format:
Purpose:
Example:
IF
Format:
Purpose:
Example:
IF
(SENSE
SWITCH) Format:
Purpose:
Example:
PAUSE
Format:
Purpose:
Example:
"END"
The
END
statement
is a signal to
the
compiler
that
the
end
of
the
source
program
has
been
reached.
END
"FORMAT
(s),
Sz,
S.I,
•••
,
Sn)"
where
S},
Sz, Ss,
and
Sn
are
specifications.
This
statement
describes
the
type
of conversion
and
format of
data
to
be
used
in
the
transmission of
input/output
lists.
2
FORMAT
(I2/F10.4,E12.4)
"GO
TO
n"
where
n is a statement
number.
This
statement
interrupts
the
sequential execution of statements;
it
specifies
the
number
of
the
next
statement
to
be
performed.
GO
TO
30
"GO
TO
(n),
nz,
...
, n
m
),
i"
where
nJ,
nz,
...
,
nm
are
statement
numbers
and
i is a fixed
point
variable.
The
variable
may
not
be
subscripted.
The
computed
GO
TO
statement
transfers
the
program
to
the
1st,
2nd, etc., statement
number
in
the
list
depending
upon
whether
the
value
of i is
1,
2,
. . . , etc.
GO
TO
(3,4,6),
L
"IF
(a)
nI, n
z
,
n./'
where
a is
an
expression
and
n},
nz,
and
n.
1
are
statement
numbers.
The
IF
statement
transfers
the
program
to a
particular
statement
depending
upon
the
value of
an
expression.
IF
(A-B)
10,5,7
"IF
(SENSE
SWITCH
i)
nJ,
nz"
where
i is
the
number
of
one
of
the
console
program
switches,
and
n}
and
nz
are
statement numbers.
This
statement
transfers
the
program
to a
particular
statement
de-
pending
upon
the
setting of
anyone
of
the
four console
program
switches.
IF
(SENSE
SWITCH
3)
14, 50
"PAUSE"
The
PAUSE
statement
is
used
as a convenient means of causing
the
object
program
to halt
temporarily.
Pressing
the
start switch causes
the
program to resume
with
the
statement following
the
PAUSE
statement.
PAUSE
Appendix A
81

Other manuals for IBM 1620

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 1620 and is the answer not in the manual?

IBM 1620 Specifications

General IconGeneral
BrandIBM
Model1620
CategoryDesktop
LanguageEnglish

Related product manuals