EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 145

Radio Shack TRS-80 Model III
274 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
Loading...
BASIC
Whenever you PRINT
@
on the bottom line of the Display , there is an automatic
line-feed, causing everything displayed to
move
up one line. To suppress this,
use a
trailing semi-colon
at
the end of the statement.
Example:
100 PRINT®
1000,
1000;
110GOTO110
Use
a
trailing semi-colon or comma any time you want to suppress the line
feed.
PRINT TAB (expression)
Moves the cursor to
the specified
position
on
the current line (modulo
*
1 28 if you
specify TAB
positions
greater than 127). TAB
may be used several times in
a
PRINT
list.
The value
of expression
must be between and
255
inclusive.
Example:
1 PRINTTAB
(5)
"TABBED
5";
TAB(25) "TABBED
25"
No
punctuation is required after
a TAB
modifier.
340
'FROM PRINT
TAB
(
EXPRESSION)
350
X
=
3
369
PRINT
TAB(X)
X; TAB(X f
2)
X t 2; TAB(X
4
3
) X
t
3
370
END
Numerical expressions may
be used to specify
a
TAB position. This
makes TAB very
useful for graphs of mathematical
functions
,
tables,
etc. TAB cannot be used
to
move the cursor
to
the
left. If cursor is beyond the specified position,
the
TAB
is
ignored.
*Modulo A cyclic
counting system. Modulo 64 means the count
goes from zero to
63 and then starts over
at zero.
Note: In 64 characters/line mode, TAB will
tab (count)
over correctly (eight
characters per tab). In double-size mode
(32
characters/line),
the
TAB
function tabs
over in the following manner: eight characters, two
characters, eight characters,
two
characters,
etc.
135

Other manuals for Radio Shack TRS-80 Model III

Related product manuals