EasyManuals Logo

IBM 5100 Basic Reference Manual

IBM 5100
187 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 #93 background imageLoading...
Page #93 background image
(
(
(
char-con
: char-exp
[char-conJ
[I
~~
{
arith-exp }
TAB (exp)
{
.}
[{arith-exp
}'
[{
arith-ex
p
}]
PRINT
[fileref.l,
char-exp
TAB (exp)
; char-exp
TAB (exp)
PRINT
The PRINT statement causes
the
values
of
specified scalar expressions
to
be displayed
on
the
display screen. printed by
the
printer.
or
written
to
a file. When using
the
PRINT statement.
the
format
of
all displayed values
is
standardized,
but
the
spacing
between values on
the
same line can be controlled.
The syntax
of
the
PRINT statement
is
as shown:
char-con
[I
'B
{arith-exp
}
. char-exp
TAB (exp)
{
,}
[{arith,-exP
}'
; char-exp
TAB (exp)
[j
arith-ex
p
}]
PRINT
[file ref.) char-exp
TAB (exp)
[char-conJ
where:
file
ref
is
FLP (printer) or
FLO
to
FL9 (logical file). This entry
is
optional.
FLO
to
FL9 must have been previously opened
in
an OPEN statement.
exp are arithmetic
or
character expressions
to
be displayed
or
printed. Expressions
can be separated by a comma
or
semicolon. You can control spacing
of
the
displayed
or
printed expressions by inserting commas
or
semicolons between
the expressions (see
TAB Function). Expressions can be arithmetic
or
character
(character constants must be enclosed
in
single quotation marks). With no
expressions specified, the PRINT statement can be used
to
complete
the
dis-
playing or printing
of
a pending line or insert a blank line.
When a PRINT statement
is
executed, the value
of
each specified expression
is
converted
to
the
appropriate
output
format
as
described under
Print
Zones, and
displayed
or
printed
in
a left-to-right sequence
in
the
order in which it appears
in
the PRINT statement.
89

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

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

IBM 5100 Specifications

General IconGeneral
Release Year1975
RAM16 KB - 64 KB
Storage204 KB tape drive
Display5-inch CRT
Operating SystemAPL/BASIC
ProcessorIBM PALM (1.9 MHz)

Related product manuals