home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3056
< prev
next >
Wrap
Internet Message Format
|
1991-03-14
|
997b
From: clear@cavebbs.gen.nz (Charlie Lear)
Newsgroups: comp.lang.c,alt.sources
Subject: Re: Small introspective program
Message-ID: <1991Mar13.032422.9438@cavebbs.gen.nz>
Date: 13 Mar 91 03:24:22 GMT
In article <1991Mar12.050929.2870@research.canon.oz.au> andy@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@cavebbs.gen.nz | Kawasaki Z750GT DoD#0221
The Cave MegaBBS +64 4 642260 V32 | PO Box 2009, Wellington, New Zealand
--------------------------------------------------------------------------