Date : Thu, 19 Nov 2009 14:02:05 +0000 (GMT)
From : kranser@... (Steve Fewell)
Subject: Quine
Well, after extracting any parameters (e.g. line number ranges, 'IF' on
the BBC Master), BASIC checks that the end of the statement has been reached
before executing the command. And for some reason the carriage return after
the CALL& statement isn't the next character to be processed (I think it
must be the next character on - the #&FF character that is next to be read),
so BASIC gives 'Syntax Error', as it assumes that the syntax for the LIST
command was incorrect.
--- On Thu, 19/11/09, Mick Champion <rs423@...> wrote:
> From: Mick Champion <rs423@...>
> Subject: Re: [BBC-Micro] Quine
> To: bbc-micro@...
> Date: Thursday, 19 November, 2009, 12:25
> Steve Fewell wrote:
> > That will give "Syntax Error" as the LIST command
> checks for end of statement before carrying out the
> operation!
> > This works:
> >? 10CALL&B59C:
> >
> >???
> How does the colon make a difference? It works for sure,
> and without it
> it doesn't.
>
>
> Mick
>
> _______________________________________________
> bbc-micro mailing list
> bbc-micro@...
> http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
>