Hi.
Nice to know
these
listings have
been found.
The game
brings back
fond
memories.
The 2000
was the first
mini I
programmed
on, in
college.
I have read
all the
replies, and
no one has
suggested
what I am
about to
suggest,
so here it is:
In order to
do a really
good job of
sanity
checking, it
would help if
we could
see
the listings
to compare
with what
has-been/wil
l-be typed.
People will
want to
port it to
other close
version of
basic
(hp-eloquen
ce) or
BASICV on
the 3000,
and
a typo is
always a
problem with
languages
that dont
necessarily
declare
variables
before
assigning
things to it.
So, if you
had a way of
scanning the
listings and
making them
available on
your web
site,
that would
be a boon
to
everyone.
Assuming
the listings
are in good
enough
shape to
scan.
As well, you
could then
spread to
work around!
Just my 2
cents
worth...
Thanks
Michel Adam
micheladam
@theedge.c
a
----- Original
Message
-----
From: Pete
Turnbull
<pete@dunn
ington.u-net.
com>
Date:
Monday,
November
10, 2003
4:17 pm
Subject: HP
2000 BASIC
help /
TREK73
I need
some help
with some
HP 2000
BASIC. I
probably
last used it
around
1980, and
not often
even then
for
somehow
the PDP-8s
looked
moreattracti
ve than the
grey HP box
in the same
room. Yeah,
I know
betternow.
Luckily, I'm
sure some
of you can
help me
out...
> I've been
retyping
TREK73
from a fairly
poor-quality
listing, and it
needs a
sanity
check. Also
I'd like to
learn a bit
more about
what
I'mtyping.
This is the
original
source for
the Star
Trek
program by
William
Char and
friends, and
what I've
typed so far
is on my
Star
Trekweb
page at
http://www.
dunnington.u
-net.com/pu
blic/startrek
/
> I've added
some other
stuff to that
page, too.
> Questions:
> All the
lines have
two spaces
between the
line number
and the
code.
All, that is,
except for a
few that
have an '@'
in place of
the
secondspac
e. Is that
significant
(does it
mean
"ignore this"
or
something?)
or is it just
an artifact
of a noisy
Teletype
line?
(The
listing
appears
to have
been made
on a
Teletype,
which
needed a
new ribbon
and
a better
platen
roller.)
> What
does '14 in
a PRINT
statement,
in front of a
quoted
string,
mean(eg
in PRINT
'14"SULU")?
I wondered
if it were
something
like
PRINTTAB(1
4)"... but
there are
TAB()s
elsewhere.
A control
character,
perhaps?
If cursor or
screen
control, are
they octal
or decimal
(I'd
guess
decimal) and
is there a
table
anywhere?
> What
exactly do
the first two
parameters
to the
ENTER
command
do?
Theyalways
seem to
have three
variables
(eg ENTER
T2,T,X$).
> That'll do
for now :-)
> If anyone
would like to
proofread
what I've
retyped so
far (about
half
the total)
and check
for obvious
sillies,
please do -
especially in
TREK0
around line
740 (cf line
840).
Better still, if
anyone is
willing to
actually try
this out,
please do!
though it
won't work
very
well with
half of it
missing.
> --
> Pete
Peter
Turnbull
Network
Manager
University of
York