<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 29 Mar 2000 16:17:03 +0100
From   : "Steve Fewell" <stevef@...>
Subject: Re: Beeb BASIC Bug

> Yes, it is. Strangely enough, if you use GOTO 10 in the line rather than
> G.10, the bug does not occur.
This probably has something to do with line length. BASIC has a 255 char.
buffer for Code lines (whether they have been tokenised yet or not). I'm
wondering if "G.10" gets tokenised to more than 4 bytes, thus causing the
buffer length to be exceeded. "G." [GOTO] will be tokenised as 1 byte, and
the line number (I think, please correct me) is tokenised as 2-bytes,
therefore, I
cannot see why this would cause BASIC to crash.

Steve Fewell
Scala Business Solutions UK
----- Original Message -----
From: <Julian.Stenning@...>
To: <brian@...>; <Julian.Stenning@ntl.com>
Cc: <bbc-micro@...>
Sent: Wednesday, March 29, 2000 3:05 PM
Subject: RE: [BBC-Micro] Beeb BASIC Bug


>
> Yes, it is. Strangely enough, if you use GOTO 10 in the line rather than
> G.10, the bug does not occurr.
>
>
> -----Original Message-----
> From: Brian Widdas [mailto:brian@...]
> Sent: 29 March 2000 15:04
> To: Julian.Stenning@...
> Cc: bbc-micro@...
> Subject: Re: [BBC-Micro] Beeb BASIC Bug
>
>
>
> On Wed, 29 Mar 2000 Julian.Stenning@... wrote:
>
> > I remember reading this in 'The Micro User' letters section years
ago....
> >
> > At the prompt type 10G.10: and copy the G.10: until the maximum line
> lenght
> > beep occurrs (i.e. 10G.10:G.10:G.10 etc)
> >
> > Once return is pressed, the beeb hangs with random sounds. This is also
> true
> > for PCBBC and BeebEm.
>
> Bizarre. Isn't G. a shorthand for GOTO?
>
> Brian
> --
> BW7226
> http://www.compsoc.man.ac.uk/~brian/
> BW1124-RIPE
> http://www.active-high.co.uk/


<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>