<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 19 Nov 2009 10:17:45 +0100
From   : anders.carlsson@... (Anders Carlsson)
Subject: Quine

Steve Fewell asked:

> ...But is it a BBC BASIC program if it doesn't have line numbers?

I suppose it depends on how a Basic program is stored in memory. Honestly 
yet I know almost nothing about the BBC Micro, but e.g. Commodore Basic 
initializes memory to two zero bytes which forms a pointer to the memory 
address of next line. &0000 simply means no more line. When you add a line 
of Basic, the pointer on the previous line is updated as well as the new 
line is terminated with a single zero byte.

However executing nothing does not generate something that is nothing. 
Rather it actually does nothing so in that respect an empty program probably 
can't be considered a quine. *gets a bit dizzy*

Best regards

-- 
Anders Carlsson
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>