Date : Sat, 21 Nov 2009 23:54:25 +0100
From : anders.carlsson@... (Anders Carlsson)
Subject: Quine
Rick Murray wrote:
> LIST is normally an immediate command and not permitted in programs
It seems BBC Basic is one of few dialects to not accept LIST inside a
program. Based on emulated performance, the following Basic versions
will accept "10 LIST" as a Quine:
Commodore Basic (VIC-20, C64 etc)
Sinclair Basic (ZX-81, ZX Spectrum 48K/128K)
Apple Basic (Apple II)
Atari Basic (Atari 800XL)
MSX Basic (both MSX1 and MSX2)
Oric Basic (Oric-1, Oric Atmos)
Amstrad Basic (Amstrad CPC-464/664/6128 etc)
Laser Basic (vTech Laser 200, VZ200 etc)
The following computers refuse LIST in a program:
BBC Micro/Master
TI-99/4A
Enterprise 64/128
There are a number of Basic computers I omitted, but while most of the
"conforming" Basics are Microsoft dialects, far from all are. It really
seems the Beeb is in minority here, teaming up with infamous computers
such as the TI-99 and the Enterprise everyone kept waiting on for years
before the wooden mock-up finally was replaced with a working computer.
Best regards
--
Anders Carlsson