EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 253

Radio Shack TRS-80 Model 4
418 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...
MAIN
PROGRAM
NUMBER
RESERVED
FOR
SUBROUTINE
HOOK
PROGRAM
LINE
PROGRAM
LINE
PROGRAM
LINE
SUBROUTINE
HOOK
BEGINNING
OF
SUBROUTINE
SUBROUTINE
LINE
SUBROUTINE
LINE
SUBROUTINE
LINE
80
REM
90
REM
LI
NE
100
REM
110
REM
120
REM
130
END
And
suppose
the
following
subroutine,
SUB/TXT,
is
stored
on
disk
in
ASCII
format:
90
GOSUB
1000
1000
REM
1010
REM
1020
REM
1030
REM
1040
RETURN
You
can
MERGE
the
subroutine
with
the
main
program
with:
MERGE
"SUB/T:n"
and
the
new
program
in
memory
is:
80
90
100
110
120
130
1000
1010
1020
1030
1040
REM
GOSUB
REM
REM
REM
END
REM
REM
REM
REM
RETURN
MA
I N
PROGRAM
1000
SUBROUTINE
HOOK
PROGRAM
LINE
PROGRAM
LINE
PROGRAM
LINE
BEGINNING
OF
SUBROUTINE
SUBROUTINE
LINE
SUBr~OUT
I
NE
LINE
SUBROUTINE
LINE
2-127

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals