Xref: utzoo comp.lang.c:37135 alt.sources:3503 Path: utzoo!utgpu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!udel!rochester!cornell!uw-beaver!ubc-cs!nebulus!rdc From: rdc@nebulus.ampr.org (Dalton Clark) Newsgroups: comp.lang.c,alt.sources Subject: Re: Small introspective program Message-ID: <1991Mar17.033005.27285@nebulus.ampr.org> Date: 17 Mar 91 03:30:05 GMT References: <1991Mar10.231230.1301@casbah.acns.nwu.edu> <1991Mar12.050929.2870@research.canon.oz.au> <1991Mar13.032422.9438@cavebbs.gen.nz> <1991Mar13.151756.2885@en.ecn.purdue.edu> <1991Mar14.092452.899@lth.se> Organization: Alchemy Mindworks, Vancouver, Canada Lines: 22 magnus%thep.lu.se@Urd.lth.se (Magnus Olsson) writes: >In article <1991Mar13.151756.2885@en.ecn.purdue.edu> steele@en.ecn.purdue.edu@en.ecn.purdue.edu (Richard A. Steele) writes: >>In article <1991Mar13.032422.9438@cavebbs.gen.nz> clear@cavebbs.gen.nz (Charlie Lear) writes: >>>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. >>You sure? If the BASIC is tokenized, then L. will be expanded to LIST >>in the source code listing, so that you'd get >> 1 LIST >>when run. I have to admit, my only experience with tokenized basics is Isn't there a BASIC that uses "!" as a REM. Thus the "shortest" basic program would be "1!"; this is 1/3 to 1/2 as short as your suggested "1 L." (I would have ommited the space before submitting). I believe it is an old Tandy basic that does this and it did not expand the "!" to rem but left it as is; it did add a space though .....