Home
IBM
Laptop
5100
IBM 5100 Basic Reference Manual
5
of 1
of 1 rating
187 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
76
Example
The
following
examples
show
the
execution
of
GOSUB
and
RETURN
statements:
50
GOSUB
100
-60-
100-
140
RETURN
80
GOSUB
150
90------,
150
-
190
GOSUB
250
200
-
...
----1--,
240
RETURN-
250-
300
RETURN--
.....
The
following
example
shows
a
GOSUB
to
a
keys
function:
100
GOSUB
9994-
_______
LOADO,KEY4
-9994
REM
9994
PRINT
'IN
MAIN
PROGRAM'
9995
RETURN
0010
PRINT
'IN
KEYGROUP
9994'
0020
RETURN
In
this
example,
statement
100
causes
the
program
to
branch
to
the
REM
function
defined
for
key
4.
If
key
4
is
not
defined
or
is
defined
as
something
other
than
REM,
the
program
seeks
statement
9994
within
the
main
program.
\",-
79
81
Table of Contents
Default Chapter
3
Table of Contents
3
Chapter 1. Operation
5
IBM 5100 Overview
5
Display Screen
6
Keyboard
7
5100 Special Keys
8
5100 Switches
9
5100 Indicators
10
Editing Input Lines
10
5100 Storage Capacity
11
Chapter 2. System Commands
12
AUTO Command
14
GO Command
15
LIST Command
17
LOAD Command
19
Keyboard Generated Data Files
22
Function Keys
22
Mark Command
25
MERGE Command
27
PATCH Command
29
Rd= Command
33
RENUM Command
34
REWIND Command
36
RUN Command
37
SAVE Command
39
UTI L Command
41
File Types
42
Chapter 3. Data Constants and Variables
44
BASIC Character Set
44
Alphabetic Characters
44
Numeric Characters
44
Special Characters
45
Use of Blanks
45
Arithmetic Data
45
Arithmetic Data Formats
46
Arithmetic Constants
48
Internal Constants
48
Arithmetic Variables
48
Character Data
49
Character Constants
49
Character Variables
49
Arrays
49
Declaring Arrays
51
Redimensioning Arrays
52
Arithmetic Arrays
52
Character Arrays
53
Summary of Naming Conventions
53
System Functions
53
Expressions
55
Arithmetic Expressions and Operators
55
Character Expressions
58
Relational Expressions
59
Array Expressions
60
Substring Function
60
Chapter 4. Basic Statements
61
Statement Lines
61
BASIC Statements
62
Chain
64
Close
65
Data
66
Def,Fnend,Return
68
Single Line Function
68
Multiline Function
68
DIM
71
End
73
Fnend
74
FOR and NEXT
75
Get
77
GOSUB and RETURN
79
Goto
81
Image
84
Input
85
Let
87
Next
89
Open
90
Negative File Numbers
91
Pause
92
Print
93
Print Zones
94
Spacing of Printed or Displayed Values
94
Standard Output Formats for Printing or Displaying
95
Display Line Operation
96
Print Line Buffer Operation
100
PRINT USING and Image
102
Conversion of Data Reference Values
103
Format Specifications
104
Put
107
Read
109
Rem
111
Reset
112
Restore
113
Return
114
110 Stop
115
Use
116
Matrix Operations
117
Mat Assignment Statements
117
MAT Assignment (Scalar Value)
118
MAT Assignment (Simple)
120
MAT Assignment (Addition and Subtraction)
122
MAT Assignment (Matrix Multiplication)
124
MAT Assignment (Scalar Multiplication)
126
MAT Assignment (Identity Function)
128
MAT Assignment (Inverse Function)
130
MAT Assignment (Transpose Function)
132
Mat Get
134
Mat Input
136
Mat Print
138
Spacing of Displayed Values
138
Display/Print Line Operation
139
Mat Print Using
141
Mat Put
144
Mat Read
145
Chapter 5 . more Information about
147
Your 5100
147
5100 BASIC Compatibility with IBM 370/VS BASIC
147
Tape Cartridge Handling and Care
148
Data Security
148
Storage Considerations
149
Appendixa. BASIC Characters
151
Appendix A. Basic Characters
153
Appendix B. Basic Error Messages and Operator Recovery
153
Appendix C. Setup Procedures
161
Environment
161
5100 Setup Procedure
161
IBM 5106 Auxiliary Tape Unit Setup Procedure
167
Cleaning the Tape Head
168
IBM 5103 Printer Setup Procedures
169
Installing the 5103 Printer Stacker
171
Appendix D. 5103 Printer
173
How to Insert Forms
174
How to Adjust the Copy Control Dial for Forms Thickness
177
How to Replace a Ribbon
177
Appendix E. Hexadecimal Representations
180
Index
181
Other manuals for IBM 5100
Maintenance Information Manual
389 pages
Maintenance Information
388 pages
Apl Reference Manual
228 pages
Communications Manual
54 pages
Maintenance Analysis Procedures
136 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the IBM 5100 and is the answer not in the manual?
Ask a question
IBM 5100 Specifications
General
Release Year
1975
RAM
16 KB - 64 KB
Storage
204 KB tape drive
Display
5-inch CRT
Operating System
APL/BASIC
Processor
IBM PALM (1.9 MHz)
Related product manuals
IBM ThinkPad 560
717 pages
IBM Laptop
2 pages
IBM A Series
83 pages
IBM THINKPAD T61
8 pages
IBM ThinkPad 310
120 pages
IBM ThinkPad T21
182 pages
IBM THINKPAD A20M
66 pages
IBM ThinkPad 600e
222 pages
IBM ThinkPad 380XD
222 pages
IBM ThinkPad A22m 2628
140 pages
IBM ThinkPad R40 series
36 pages
IBM ThinkPad T40 series
27 pages