home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!mips!darwin.sura.net!paladin.american.edu!auvm!UCSFVM.BITNET!GOMBERG
- From: GOMBERG@UCSFVM.BITNET (Dave Gomberg)
- Newsgroups: comp.lang.rexx
- Subject: Re: REXX Compiler
- Message-ID: <REXXLIST%92072918265702@UGA.CC.UGA.EDU>
- Date: 29 Jul 92 22:24:08 GMT
- Sender: REXX Programming discussion list <REXXLIST@UGA.BITNET>
- Lines: 15
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- In-Reply-To: Message of Wed,
- 29 Jul 1992 16:05:19 EDT from <RAMETZ01@ULKYVM.LOUISVILLE.EDU>
-
- On Wed, 29 Jul 1992 16:05:19 EDT Robert A. Metzger said:
-
- >that it did not flag a syntax error when the exec was compiled. The statement
- >was coded as WHEN Choice = 'QUIT' | Choice 'Q' leaving the = out of the second
-
- This is not an error at compile time. Choice plus a blank, plus a capital Q
- get concatenated together at execution time and treated as a logical. Of
- course, it won't be a valid logical, so an error will arise at execution time,
- but how is the poor compiler supposed to second guess that?
- Worse (more confusing) constructions are possible in PL1!
-
- Dave
-
- Dave Gomberg GOMBERG@UCSFVM Internet node UCSFVM.UCSF.EDU (415)731-7793
- Seven Gateview Court, San Francisco CA 94116-1941
-