Radio Shack Pro-2032 Specifications Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 72
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 48
The
output
control
function
following
the
PRINT
statement
is
a
CSR
function,
which
designates the location where the
following
data
is
to
be
displayed.
For the numerical expression, a variable
or
calculation formula
is
written.
In the
case
of
a variable, the contents
will
be displayed. In
the
case
of
a calculation formula, the
result
will
be
displayed.
Example:
PR
INT A (make A = 12345)
PR
INT
789
PR
INT
A*2
(make A = 147)
PRINT
B$
(makeB$="PB-100")
12345
789
294
PB-100
In the
case
of
a character expression, the characters enclosed in
quotation
marks
will
be
displayed.
Example:
PR
INT "ABC"
PRINT
"XYZ"
+
"123"
I
ABC
The numerical expressions
or
character expressions may
be
written
consecutively
by
using a
";"
(semicolon)
or
"
,"
(comma). However, the number
of
characters which
can
be
written
on one line cannot exceed 62. including
the
Iine number. The number
of
characters in
the
character string enclosed in
quotation
marks cannot exceed 30.
The difference between the
";
II
and
the
II
,
II
is
that
with
the " ;
1/
the numerical ex-
pression
or
character expression
will
be
displayed
following
the previous expression and
with
the"
.
".
the display
will
go
off
once and then the numerical expression
will
appear
next.
When a "
;"
is
not
written
after the data,
"STOP"
will
be
displayed after the data
is
displayed, and program execution
will
stop. Therefore, when you want
to
display the
following
data
or
continue program execution,
press
the
lID
Key.
CSR
function
The
CSR
function
is
an
output
control
function
which designates the location where the
data
is
to
be
displayed. '
Format: PRINT CSR numerical
[{,}
{numerical
expression} ]
~;
character expression
Either one
of
the items enclosed in { I
can
be
used.
Items enclosed in ( )
can
be
omitted.
* The value
of
the numerical expression can vary
from
(/)
to
11.
-46-
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 71 72

Comments to this Manuals

No comments