EasyManuals Logo
Home>IBM>Laptop>5100

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 #102 background imageLoading...
Page #102 background image
PRINT USING [file ref,1 line-num
[,
{arhith'i!XP}[{'·Xarhith'i!XP}]]
..
J{
'}]
, c ar-exp ; c ar'i!xp L ;
,
98,
'lIchar-strin
g
I~
.,
.
,.
.
..
print-Image
print-Image
[{
char-strin
g
}]
print-image ,
..
PRINT USING AND IMAGE
The PRINT USING statement and its associated image statement allow you
to
dis-
play specified scalar values
in
a format of your own choosing. The PRINT USING
statement specifies the values
to
be displayed and the line number
of
the
image
statement
to
be used. The image statement specifies the format
of
the line
to
be
displayed. The syntax of the PRINT USING and
image
statements
is
as
shown:
PRINT USING [file ref,1 line-num
[,
{arhith'i!XP}[{ .Varhith'i!XP}]]
..
,fJ
,}]
c ar-exp ;
ftc
ar'i!Xp
D.
;
.
[Ichar-strin
g
I]
.,
.
'.
.
..
print-Image
print-Image
[{
char-strin
g
}]
print-image ,
..
where:
file
ref
is
an optional specification of
FLO
to
FL9
to
identify the logical file into
which the formatted data
is
to
be placed or FLP
to
specify printing.
If
not
spec'
ified otherwise, the formatted data
is
displayed.
FLO
to
FL9 must have been
previously referenced
in
an OPEN statement.
line-num
is
the statement number of the image statement
that
defines how data
is
to
be formatted when printed or displayed.
exp
is
an arithmetic or character value separated by semicolons or commas.
These values are incorporated (edited) into the format of the image statement
specified. A comma or semicolon can also follow
the
last expression.
print-image
is
the format specification (see Format Specifications),
When
a PRINT
USING
statement
is
executed, the specified expressions are evaluated,
and their values are edited
in
order of appearance
in
the PRINT USING statement
into
the
corresponding format specifications
in
the specified image statement. A
string
of
character constants
will
be printed exactly
as
entered
in
the image state-
ment described
in
the following text.
/

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
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals