home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / rexx / 671 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.2 KB

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