EasyManuals Logo

Radio Shack TRS-80 Model 4 Quick Reference Guide

Radio Shack TRS-80 Model 4
31 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 #18 background imageLoading...
Page #18 background image
FOR/NEXT
FOR
variable
=
initial
value
TO
tinal
value
[STEP
incremen~
Establishes a program loop.
20
FOR
H=1
TO
2
STEP
-2
FRE(dummy
number)
Returns the amount
of
free
memory
$Pace.
PR
I
NT
FRE
(llll)
FRE(
dummy
string)
Returns the amount
of
free string space.
PRINT
FRE("1I4")
GET
butter
[,record
number]
Gets a record from a direct disk file and places it in a
buffer.
GET
1
GET
1,
25
GOSUB
line
Goes to a subroutine, beginning at the specified
line.
GOSUB
1000
GOTO
line
Goes to the specified
line.
GOTO
100
HEX$
(number)
Calculates the hexadecimal value
of
number.
PRINT
HE){$(30) t HE){$(50) t
IF
...
THEN
...
ELSE
IF
expression THEN
statement(s)
or
line
ELSE
[statement(s)]
or
[line]
Tests a conditional expression and makes a decision
regarding program flow.
IF
){
> 127
THEN
PRINT
"OUT
OF
RANGE"
:
END
IF A < B
THEN
PRINT
"A
<
B"
ELSE
PRINT
"B
A"
INKEY$
INP(porf)
Returns the byte
integer from
ato
100 A=INP(2
21

Other manuals for Radio Shack TRS-80 Model 4

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack TRS-80 Model 4 and is the answer not in the manual?

Radio Shack TRS-80 Model 4 Specifications

General IconGeneral
BrandRadio Shack
ModelTRS-80 Model 4
CategoryDesktop
LanguageEnglish

Related product manuals