Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Looking for the original source code of a famous BASIC program

99 views
Skip to first unread message
Message has been deleted

ne...@rtrussell.co.uk

unread,
Nov 18, 2012, 6:14:16 AM11/18/12
to
On Nov 14, 5:14 pm, H-Man <S...@bites.fs> wrote:
> Try here;http://www.dunnington.u-net.com/public/startrek/
> Many different versions towards bottom of page.

Apropos of nothing much, the BBC BASIC version 'strek' appears to work
fine in 'BBC BASIC for Windows' if you correct the typo in line 2660:

2660 SR$= CHR$&83+" -1--2--3--4--5--6--7--8-"

(There's a spurious plus sign in the published listing).

Richard.
http://www.rtrussell.co.uk/

Richard

unread,
Jan 5, 2013, 4:25:22 AM1/5/13
to
Don't think so, Russell...


ne...@rtrussell.co.uk

unread,
Jan 5, 2013, 8:46:28 AM1/5/13
to
On Jan 5, 9:25 am, Richard <cavel...@earthlink.net> wrote:
> On 11/18/2012 5:14 AM, n...@rtrussell.co.uk wrote:
> > (There's a spurious plus sign in the published listing).
> Don't think so, Russell...

What do you mean "don't think so"? The listing clearly has a typo in
line 2660:

2660 SR$=+ CHR$&83+" -1--2--3--4--5--6--7--8-"

The plus sign immediately following the equals is nonsense, and isn't
valid syntax in BBC BASIC. The code only makes sense if you omit that
plus sign:

2660 SR$= CHR$&83+" -1--2--3--4--5--6--7--8-"

Richard.
http://www.rtrussell.co.uk/

Richard

unread,
Jan 5, 2013, 3:10:13 PM1/5/13
to
Sorry, Richard, you ar right.
I thought it was the one after the 83 you were talking about.


Katzy

unread,
Jan 29, 2013, 7:17:51 AM1/29/13
to
Hello.

Juhani Ylikoski wrote in message ...
>Should anyone have the ASCII file form of the original BASIC source code of
>this program in his/her hands, I would like to enquire.
>
>I typed it from Ahl's book, but bugs still remain in my file. It would be
>nice to have the original working ASCII BASIC code.


If you find it, it will be totally different from what you attached, I
suppose, reading about all the 'improvements'.

Did you find it?

Bye, Katzy.



Juhani Ylikoski

unread,
Feb 10, 2013, 10:09:11 AM2/10/13
to
Yes, I did.

Andy
Rovaniemi, Lapland, the EU

0 new messages