Date : Fri, 20 Nov 2009 01:26:57 +0000 (GMT)
From : kranser@... (Steve Fewell)
Subject: Quine
Also:
570 DATA 247,"RESTORE"
For me line 140 still prints with a '#' after the line number - I can't work
out why that is!
Steve.
--- On Fri, 20/11/09, Steve Fewell <kranser@...> wrote:
> From: Steve Fewell <kranser@...>
> Subject: Re: [BBC-Micro] Quine
> To: bbc-micro@..., "Mick Champion" <rs423@...>
> Date: Friday, 20 November, 2009, 1:22
> No you had STR$ - you missed CHR$!
>
> 455 DATA 189,"CHR$"
>
> I also made these changes:
> 70 UNTIL A%>=TOP-1
> 140 B%=?A%*256+A%?1:A%=A%+2:PRINT ;B%;
> 270 PRINT ;?B%-B%?1;
> 320 IF A$="*" A$="<*"+STR$?A%+"*>"
>
> Steve.
>
> --- On Fri, 20/11/09, Mick Champion <rs423@...>
> wrote:
>
> > From: Mick Champion <rs423@...>
> > Subject: Re: [BBC-Micro] Quine
> > To: bbc-micro@...
> > Date: Friday, 20 November, 2009, 0:50
> > Mick Champion wrote:
> > >
> > > 400 DATA 128,"AND"
> > > 410 DATA 130,"EOR"
> > > 420 DATA 132,"OR"
> > >???
> >
> >
> > ....
> >
> > Arrrgh! I missed out the token for STR$
> >
> > 455 DATA 195,"STR$"
> >
> >
> > Also see a "!" on line 140. Oh dear. Failure!!!!
> Better
> > leave looking
> > more until I wake up sometime next month <cry>
> >
> >
> > Mick.
> >
> >
> > _______________________________________________
> > bbc-micro mailing list
> > bbc-micro@...
> > http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
> >
>
>
> ? ? ?
>
> _______________________________________________
> bbc-micro mailing list
> bbc-micro@...
> http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
>