home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3087 < prev    next >
Encoding:
Internet Message Format  |  1991-03-18  |  1.2 KB

  1. From: rdc@nebulus.ampr.org (Dalton Clark)
  2. Newsgroups: comp.lang.c,alt.sources
  3. Subject: Re: Small introspective program
  4. Message-ID: <1991Mar17.033005.27285@nebulus.ampr.org>
  5. Date: 17 Mar 91 03:30:05 GMT
  6.  
  7. magnus%thep.lu.se@Urd.lth.se (Magnus Olsson) writes:
  8.  
  9. >In article <1991Mar13.151756.2885@en.ecn.purdue.edu> steele@en.ecn.purdue.edu@en.ecn.purdue.edu (Richard A. Steele) writes:
  10. >>In article <1991Mar13.032422.9438@cavebbs.gen.nz> clear@cavebbs.gen.nz (Charlie Lear) writes:
  11. >>>Sorry, your entry is disqualified through being too large. REAL BASICs used
  12. >>>to be able to tokenise, and the winner is:
  13. >>>    1 L.
  14. >>>which when run would produce
  15. >>>     1 L.
  16.  
  17. >>You sure?  If the BASIC is tokenized, then L. will be expanded to LIST
  18. >>in the source code listing, so that you'd get
  19. >>    1 LIST
  20. >>when run.  I have to admit, my only experience with tokenized basics is
  21.  
  22. Isn't there a BASIC that uses "!" as a REM.
  23.  
  24. Thus the "shortest" basic program would be "1!"; this is 1/3 to 1/2 as short as 
  25. your suggested "1 L." (I would have ommited the space before submitting).
  26.  
  27. I believe it is an old Tandy basic that does this and it did not expand the "!"
  28. to rem but left it as is; it did add a space though .....
  29.