HP 2000 BASIC help / TREK73

From: Joe <rigdonj_at_cfl.rr.com>
Date: Tue Nov 11 08:02:03 2003

Pete,

   Very cool! You even included the Intel MDS version!

   Joe

At 09:17 PM 11/10/03 +0000, you wrote:
>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 more
>attractive than the grey HP box in the same room. Yeah, I know better
>now. 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'm
>typing. 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 Trek
>web page at http://www.dunnington.u-net.com/public/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 '_at_' in place of the second
>space. 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 PRINT
>TAB(14)"... 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? They
>always 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
>
Received on Tue Nov 11 2003 - 08:02:03 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:18 BST