EasyManua.ls Logo

Radio Shack TRS-80 Model III - Arithmetic Functions

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
Example Program:
860 A
=
58.5s
B
=
-58.5
870 PRINT
STR*(A)
880
PRINT
STR*<B)
890
PRINT
STR*<A+B>
900 PRINT
STR*(A) +
STR*<B)
STRINGS (n,
'
'character'
'
or number)
Returns
a string composed of
n
character-symbols. For
example,
STRING$(30 "*") returns
"******************************"
string? is
useful in creating graphs,
tables, etc.
The argument
n
is
any numerical expression with
a
value of from
zero to
255
.
character can also be
a
number from 0-255
;
in this
case ,
it
will be treated
as an
ASCII, control, or graphics
code.
Example:
10 CLEAR
200
20
FOR
1=128
TO
191
30 A*
=
STRING*<64»
I
)
40
PRINT
A*5
50
NEXT I
169

Other manuals for Radio Shack TRS-80 Model III

Related product manuals