EasyManua.ls Logo

Kaypro 10 - Page 68

Kaypro 10
155 pages
Print Icon
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...
)
)
User area 6
contains
three basic
files
that
you can
compile
and run:
FAC.BAS
DPLAY.BAS
XAMN.BAS
This program
computes
the
factorial
of
an
input
number.
This program
illustrates
the sequential access
of
a random
file,
specifically
working
with
the RECORD.SEQUENTIAL
ON/OFF
statement.
If
this
statement
is OFF, then all variables
of
a random record
must
be read or
written
in one statement. If
it is ON, you can read or write part
of
a random record.
With
this
program,
if
you have the
technical
knowledge, you
can
examine
diskettes
for bad sectors,
look
at and change
data
in sectors, move sectors, map a
diskette
or
a file, and
compute
logical
blocks. When
the
program
first
comes up, you
have
to
specify
the drive
which
contains
the
file you want to
examine
(A
=
0,
B =
1).
56

Related product manuals