Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bellcore!decvax.dec.com!pa.dec.com!src.dec.com!stolfi From: stolfi (Jorge Stolfi) Newsgroups: comp.lang.modula3 Subject: Re: Stolfi's illegal code Message-ID: <9012230147.AA20067@jumbo.pa.dec.com> Date: 23 Dec 90 01:46:00 GMT Lines: 16 In-Reply-To: Message of Fri, 21 Dec 90 16:16:33 EST from moss@cs.umass.edu <9012212116.AA07205@ibis.cs.umass.edu> To: moss@cs.umass.edu Cc: m3 X-Folder-Carbon: lang-des I don't see what's wrong with the last case. Could somebody explain it, please? In the implementation file, the body of "Put" is syntactically illegal: PROCEDURE Put(wr: Wr.T; char: CHAR) RAISES {...} = Wr.PutChar; I wish the above were legal, but the body has to be a real body, e.g. PROCEDURE Put(wr: Wr.T; char: CHAR) RAISES {...} = BEGIN Wr.PutChar(wr, char) END Put; --stolfi