EasyManuals Logo

Sinclair QL User Manual

Sinclair QL
422 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 #364 background imageLoading...
Page #364 background image
print"
*
part
number
";
print
ycode$
print
"(";
sto.description$;
II)
";
print
"at
E";
pri;
"
each."
print
print
"Total
value:
£11;
sto.buyqty*pri
endproc
The tinal command that
we
need
is
one
to
close
all
the files when
we
have
finished
using them.
proc
bye
conti
rm
if
yes
cLs
print:
print
"bye"
cLose
"s
to"
cLose
"sup"
close
"ord"
cLs
endif
endproc
We
can now write a short procedure
to
run
the application.
It
must open
all
three files
with
the correct logical
tile
names,
clear the display and show
you
the additional
commands that you
have.
Note
that,
In
normal
use,
the stock
tile
is
the only one whose
records
will
need
to
be changed. The other
two
files are opened
as
read only
files.
It
also orders the supplier
file
so
that
we
can locale a company
by
its
reference code.
proc
start
cLs
print
at
5,5;
"STOCK
CONTROL
DEMONSTRATION"
print
open
"stock"
logicaL
"sto"
look
"supplier"
logicaL
"sup"
look
lIorders"
LogicaL
/lord"
use
"sup"
order
codeS;
a
cLear
endproc
Finally
we
can write clear, which simply clears the screen and
shows
a
list
of
the extra
commands available:
proc
cLear
rem
*****
clear
screen
and
get
command
*****'
loca
L x$
print
print
"Press
any
key
to
continue
";
let
x$=getkey()
cIs
pri
nt
print
"Query
Report
DeLiver:y
Doorder
Sale
Bye":
print
print
"Type
in
your
choice"
endproc
12/84
USing
MlJtIJe
Fies
37

Other manuals for Sinclair QL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sinclair QL and is the answer not in the manual?

Sinclair QL Specifications

General IconGeneral
ProcessorMotorola 68008
Clock Speed7.5 MHz
RAM128 KB (expandable to 640 KB)
ROM48 KB
Operating SystemSinclair QDOS
Release Year1984
StorageMicrodrive tape loop
Graphics256x256 pixels, 8 colors
PortsRS-232, ROM cartridge
SoundBeeper (internal speaker)

Related product manuals