
Remarks
and
Examples:
PRINT USING <"format string">;<list of expressions>
Extended, Disk
To print.strings or numbers
using
a
specified
format.
<list of expressions> is comprised of the string
expressions or
numeric expressions
that are to
be printed, separated by
semicolons.
<"format
string">,
enclosed
in
quotation
marks,
is
comprised
of
special
formatting
characters.
These
formatting
characters
(see
below)
determine
the
field
and
the
format
of
the
printed strings or numbers.
String Fields
When PRINT USING is used to print
strings,
one
of
three
formatting
characters may be used to
format the string field:
"!"
Spec~fies that only the first character
in
the
given string is to be printed.
"\n spaces\"
Specifies that 2+n characters from the
string
are to be printed.
If the backs lashes are typed
with no spaces, two characters will be
printed;
with
one
space,
three
characters
will
be
printed, and so on.
If
the
string
is
longer
than
the
field,
the
extra
characters
are
ignored.
If
the
field
is
longer
than
the
string, the string will be left-justified in the
field and
padded
with
spaces
on
the
right.
Example:
10 A$-"LOOX":B$-"OUT"
30 PRINT USING "!";A$;B$
40 PRINT USING "\
\" ;A$';
B$
SO PRINT USING "\
\";A$;B$;"!!"
RON
LO
LOOKOUT
LOOK OUT
!!
Summary of Contents for Basic Interpreter Basic 80
Page 1: ...5IA iC intc tit tcl c t ...
Page 2: ......
Page 6: ... ...
Page 10: ......
Page 26: ......
Page 33: ...2 5 Intentially left blank ...
Page 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Page 112: ......
Page 136: ......
Page 140: ......
Page 160: ......
Page 165: ......
Page 166: ......
Page 174: ......
Page 176: ......
Page 182: ......
Page 184: ......
Page 190: ......