Path: utzoo!mnetor!uunet!yale!cmcl2!acf3!tmy6405 From: tmy6405@acf3.NYU.EDU (Ted M. Young) Newsgroups: comp.lang.misc Subject: Re: Blanks in symbol names (was Re: Readable names) Message-ID: <614@acf3.NYU.EDU> Date: 23 Mar 88 17:18:52 GMT References: <2318@bsu-cs.UUCP> <2835@enea.se> <1810@sics.se> <3156@fluke.COM> <22367@bbn.COM> Reply-To: tmy6405@acf3.UUCP (Ted M. Young) Organization: New York University Lines: 37 Summary: would you believe Apple BASIC too? In article <22367@bbn.COM> schooler@oak.bbn.com (Richard Schooler) writes: >In article <3156@fluke.COM>, mce@tc (Brian McElhinney) writes: >> >>Are there languages other than CORAL that allow blanks in symbol names? >> > >Fortran, of course, since blanks are insignificant except inside >string literals. Then there's the old Apple II BASIC (seems almost as old as FORTRAN :-) which let you type in whole lines of code without any spaces whatsoever (except in string literals, where spaces are significant). As each line is typed in, the line is parsed and tokenized, but it always had trouble with a line like: 10 FORI=ATOB because AT and TO are both tokens, this line would get parsed to 10 FOR I = AT OB which ain't right, and wouldn't work either :-). Disclaimer: The last time I programmed in Apple BASIC was about 4 years ago, so the above is dredged up from memory, and may not be entirely correct. I also believe that the BASIC that comes with the ProDOS setup is different, but not having programmed in it, I dunno. > -- Richard Schooler -- Ted -- Ted M. Young \ tmy6405@acf3.nyu.edu \ "..restless young romantic, 3801 Hudson Manor Terr.\ tmy6405@NYU-ACF3.ARPA \ wants to run the big machine" Riverdale, NY 10463-1111\ Compu$erve:76703,4343 \ yeah, my own Cray! 8-) ------------------------------------------------------------------------------ "With Basic you just use a GOTO, with Pascal you have to indent 99% of the program halfway across the page!" -- Me (A Basic programmer for 12 years) -- Ted M. Young \ tmy6405@acf3.nyu.edu \ "..restless young romantic, 3801 Hudson Manor Terr.\ tmy6405@NYU-ACF3.ARPA \ wants to run the big machine" Riverdale, NY 10463-1111\ Compu$erve:76703,4343 \ yeah, my own Cray! 8-)