EasyManuals Logo

Radio Shack TRS-80 PC-4 User Manual

Radio Shack TRS-80 PC-4
72 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 #5 background imageLoading...
Page #5 background image
Chapter 5 Program
Ca
I
cu
lation
...............................27
5-1
Program Outline
............••.................
......•...
27
5-2 Program Fundamentals
...............................•.•...
28
5-2-1 Constants and Variables
...•••....•.•.••.......•..........••••.
28
5-2-2
Substitution
Statements
•.•..•..........•......................
29
5·3 Program Writing and Execution
...........................••..
30
5-3-1 Program
Writing
...•.••...••.••••.•...............•...•
30
5-3-2 Program
Execution
•...•••...••••.......................
32
5·4 Program Editing
.................•.....•.•..••.....•.....
34
5-5
Program
Debug
""
..
.. ..
40
5-6 Program Commands
.............•••.••..•..•..............
44
5-6-1
5-6-2
5-6-3
5-6-4
&-6-5
5-6-6
5-6-7
5-6-8
5-6-9
5-6-10
5-6-11
5-6-12
5-6-13
5-6-14
5-6-15
5-6·16
5-6-17
Input
Command
(INPUT,
KEY)
44
Output
Command
(PRINT,
CSR) 45
Jump
Command (GOTO)
.•.•...•••...•.................•
47
Judgement Command
(IF
-
THEN)
..•....•...•...•••.•.•....
48
Loop
Command
(FOR·NEXT)
....•••.•..•..•..............
49
SUbroutine Command (GOSUB,
RETURN)
................•....•
51
Multistatement
.....•.•.•.•.•••..••...•.•.•.....•••.•
54
Stop Command (STOP)
•.•••••...•.•.•.............•....
54
End Command
(END)
...•...•.•...............•.•.•••..
54
Execute Command
(R
UN)
.•...•.............•.•.•....•.••
54
List Command
(LIST)
.........................••••.•...
55
Mode Designation (MODE)
•••.•.................••.•••.•.
55
Output
Format
(SET)
.......•...............•••.•......
56
Character
Functions
(LEN,
MID,
VAL)
...............••••.....
56
Memory
Clear
(V
AC)
..................•.....•....•...•.
57
Program Clear
(CLEAR,
CLEAR
A)
.............•.••.•...•.•.
57
Option
Specifications
.................................••
58
Cassette Magnetic Tape
(SAVE,
LOAD,
SAVE
A,
LOAD
A,
PUT,
GET,
VER).
58
Printer
...................................•••.••
60
Error
Message
List It
61
Program Command List I
...................................................
'62
Function Digit Capacity
64
Specifications
65
-2-

Questions and Answers:

Question and Answer IconNeed help?

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

Radio Shack TRS-80 PC-4 Specifications

General IconGeneral
BrandRadio Shack
ModelTRS-80 PC-4
CategoryDesktop
LanguageEnglish

Related product manuals