Small introspective program
Charlie Lear
clear at cavebbs.gen.nz
Wed Mar 13 13:24:22 AEST 1991
In article <1991Mar12.050929.2870 at research.canon.oz.au> andy at research.canon.oz.au (Andy Newman) writes:
>The smaller the better! In many interpreted BASIC's of years ago you could do:
> 1 LIST
>Which when RUN would produce:
> 1 LIST
>(Using a single digit line number to make it as small as possible).
Sorry, your entry is disqualified through being too large. REAL BASICs used
to be able to tokenise, and the winner is:
1 L.
which when run would produce
1 L.
Lets see you do THAT in C!
--
--------------------------------------------------------------------------
Charlie "The Bear" Lear | clear at cavebbs.gen.nz | Kawasaki Z750GT DoD#0221
The Cave MegaBBS +64 4 642260 V32 | PO Box 2009, Wellington, New Zealand
--------------------------------------------------------------------------
More information about the Comp.lang.c
mailing list