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 #147 background imageLoading...
Page #147 background image
(
(
(
(
..
Chapter 5. More Information About Your
5100
5100 BASIC COMPATIBILITY WITH IBM 370/VS BASIC
The BASIC
language
used
in the 5100 differs from IBM 370/VS BASIC in the
following
areas:
Lowercase alphabetic characters
are
not
available in the 5100.
Double quotation marks
are
not
available in the 5100.
The 5100 provides
only
one
precision (13 digits
of
precision).
The 5100 provides hexadecimal constants, which
are
enclosed in
single
quotation
marks
and
preceded by X.
The 5100 allows entry
of
a
TAB
(expression)
within
a PRINT statement.
The 5100 allows you
to
direct formatted
output
to
either the printer, or the dis-
play
screen
or a tape file. This capability
is
provided through
an
additional
parameter (FLP) in PRINT,
MAT
PRINT, PRINT USING,
and
MAT
PRINT
USING statements.
An
entry
of
FLO-FL9 in this position directs
output
to
the
file referred
to
in a corresponding
OPEN
statement.
'The
5100 allows you
to
specify file description information which
is
provided
by the operating system (in 370/VS BASIC).
The 5100 allows you
to
CHAIN
to
a specified program
without
initializing the
data
area
reserved
by variables specified in a
USE
statement.
The 5100 allows you
to
list data in the
USE
statement, including dimensions
for arrays. In conjunction with a CHAIN statement, the
USE
statement allows
you
to
pass
data from
one
program
to
another.
The 5100 provides the TAB(x) function, but
does
not
provide the
following.
VS
BASIC functions: CEN(x), CLK, CNT,
CPU,
DAT(x),
DOT(x,y), FAH(x),
IDX(x,y), JDY(x),
KLN(x),
KPS(x), LEN(x), MAX(x,y,z), MIN(x,y,z), NUM(x),
PRD(x), RLN(x), SUM (x),
and
TIM.
The 5100
does
not
provide the
ascending
(ASORT)
and
descending (DSORT) array
assignment functions.
The 5100 requires statement numbers
with
values
up
to
9999,
and
permits special
functions
to
be
assigned
by the
user
to
numbers 9990-9999.
The 5100
does
not
provide the following BASIC statements: DELETE FILE,
EXIT, FORM, READ
FILE,
REREAD FILE, REWRITE FILE,
and
WRITE
FILE.
143

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