Path: news.cs.au.dk!not-for-mail From: Manmathan Muthukumarapillai Newsgroups: comp.lang.beta Subject: Re: procedure call Date: 20 Jul 1999 07:36:12 -0000 Organization: Mjolner Informatics ApS, Denmark Lines: 45 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990720073612.11902.qmail@noatun.mjolner.dk> Reply-To: Manmathan Muthukumarapillai NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 932456202 5921000 255.255.255.255 (20 Jul 1999 07:36:42 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 20 Jul 1999 07:36:42 GMT Xref: news.cs.au.dk comp.lang.beta:12034 Mon, Jul 19, 1999 at 04:53:21PM +0200 Yoann Padioleau wrote: > nospam2159@cs.au.dk (Peter von der Ahé) writes: > > > None the two program segments you have posted will compile, maybe you > > where thinking of something like this: > > > > (# > > > > A: (# > > attribute : @ text; > > method : (# ... #) > > #) > > do > > 1 -> A.attribute; > > 2 -> A.method (* ??? *) > > #) Since "A" is not an object the above 2 lines are not allowed. --mannan > > > > vs. > > > > (# > > > > A: @(# > > attribute : @ text; > > method : (# ... #) > > #); > > do > > 1 -> A.attribute; > > 2 -> A.method > > #) > > > > But I'm not sure what you see as a problem... > In on case, attribute is a @ and in the other it is a pattern. > That's not the same thing. > > > > > > /Peter > > -- > pad