<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 18 Nov 2009 19:59:08 +0000 (GMT)
From   : kranser@... (Steve Fewell)
Subject: Quine

To avoid the L. appearing you'd need to add the following lines:
5 VDU 21
25 OSCLI"FX138,0,6"
27 OSCLI"FX138,0,11"

:-)

But it isn't really a quine as the code to make the listing is external to
the program!

> 10 OSCLI"FX138,0,76"
> 20 OSCLI"FX138,0,46"
> 30 OSCLI"FX138,0,13"

Steve.

--- On Wed, 18/11/09, me@... <me@...> wrote:

> From: me@... <me@...>
> Subject: Re: [BBC-Micro] Quine
> To: "BBC Micro List" <bbc-micro@...>
> Date: Wednesday, 18 November, 2009, 19:15
> On 18 Nov 2009, at 12:32, Mick
> Champion wrote:
> 
> > 10 OSCLI"FX138,0,76"
> > 20 OSCLI"FX138,0,46"
> > 30 OSCLI"FX138,0,13"
> 
> I would argue that this isn't a quine. It does not output
> it's own source code, but only "L.".
> 
> Yes, the source code is subsequently displayed, but only as
> a side effect. Even if you *do* count that as program
> output, you still have to count the "L." too.
> 
> -- 
> David Glover
> http://www.davidglover.org/
> 
> 
> _______________________________________________
> bbc-micro mailing list
> bbc-micro@...
> http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
> 


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