Path: utzoo!utgpu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!decwrl!deccrl!news.crl.dec.com!shlump.nac.dec.com!tkou02.enet.dec.com!jit345!diamond From: diamond@jit345.swstokyo.dec.com (Norman Diamond) Newsgroups: alt.sources Subject: Re: Small introspective program Message-ID: <1991Mar18.011858.2544@tkou02.enet.dec.com> Date: 18 Mar 91 01:18:58 GMT References: <1991Mar13.151756.2885@en.ecn.purdue.edu> <1991Mar14.092452.899@lth.se> <1991Mar17.033005.27285@nebulus.ampr.org> <1991Mar17.190756.29382@midway.uchicago.edu> Sender: news@tkou02.enet.dec.com (USENET News System) Reply-To: diamond@jit345.enet@tkou02.enet.dec.com (Norman Diamond) Organization: Digital Equipment Corporation Japan , Tokyo Lines: 23 In article <1991Mar17.190756.29382@midway.uchicago.edu> goer@quads.uchicago.edu (Richard L. Goerwitz) writes: >>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 ..... > >I don't see any source code here. Please note the followup-to line >above. Please, please, please - ! His source, though incorrect, is: 1! Therefore I have changed the follow-up back to alt.sources. Meanwhile, the reason his source is incorrect is that when you RUN it, it does not output a copy of itself. I still prefer the correct program which is even two characters shorter than that. (The source code is here, though it is difficult to see.) -- Norman Diamond diamond@tkov50.enet.dec.com If this were the company's opinion, I wouldn't be allowed to post it.