EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Basic Reference Manual

IBM 5100
187 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 #62 background imageLoading...
Page #62 background image
58
BASIC STATEMENTS
The statements used in
the
BASIC language for
the
5100
are listed below. A brief
description
of
each
statement
is
included.
CHAIN - Ends a program.
then
loads and begins executing
another
program.
CLOSE - Deactivates
open
files.
DATA - Creates an internal data table
of
values you supply.
DEF - Defines an arithmetic function t!) be used
in
the
program.
DIM
- Specifies
the
size (dimensions)
of
an array.
END - Ends a program.
FNEND - Ends an arithmetic function defined
in
a DEF statement.
FOR - Begins a loop.
GET - Assigns values from a file
to
variables.
GOSUB - Branches
the
program
to
the
beginning
of
a subroutine.
GOTO - Branches
the
program
to
a specific statement.
IF
- Branches
the
program depending
on
specific conditions.
Image - Specifies formatting
of
data
to
be displayed
or
printed.
INPUT - Assigns values from
the
keyboard
to
variables during program execution.
LET - Assigns values
to
variables.
MAT Assignment - Assigns values
to
all elements
of
an array.
MAT GET - Assigns values from a file
to
elements
of
an array.
MAT INPUT - Assigns values from
the
keyboard
to
elements
of
an array.
MAT PRINT (FLP) - Displays
or
prints
the
values
of
all elements
of
an array.
MAT PRINT USING (FLP) - Displays
or
prints
the
values
of
all elements
of
an
array
in
a
format
defined in an :image statement.
MAT PUT - Writes
the
values
of
all
elements
of
an
array into a
tape
file.
MAT
READ - Assigns values from
the
internal data table (see DA TA)
to
elements
of
an array.
NEXT - Ends a loop (see
FOR and
NEXn.

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals