Path: news.cs.au.dk!news.net.uni-c.dk!uninett.no!news.maxwell.syr.edu!oleane!ciril.fr!univ-lille1.fr!news!univ-rennes1.fr!irisa.fr!not-for-mail From: Yoann Padioleau Newsgroups: comp.lang.beta Subject: Re: procedure call Date: 19 Jul 1999 16:53:21 +0200 Organization: IRISA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE Lines: 39 Message-ID: References: NNTP-Posting-Host: hcand.irisa.fr X-Trace: news.irisa.fr 932396001 17237 131.254.50.32 (19 Jul 1999 14:53:21 GMT) X-Complaints-To: usenet@irisa.fr NNTP-Posting-Date: 19 Jul 1999 14:53:21 GMT X-Newsreader: Gnus v5.5/Emacs 20.3 Xref: news.cs.au.dk comp.lang.beta:12030 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 (* ??? *) > #) > > 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