Path: news.cs.au.dk!news.inet.tele.dk!news.netscum.dk.MISMATCH!CensurBot!news.tele.dk!News.Tele.DK!news.tele.dk!newsfeedZ.netscum.dQ!netscum.int!npeer.kpnqwest.net!blackbush.xlink.net!newscore.gigabell.net!newsfeed.icl.net!newsfeed.icl.net!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: Function call? Date: Wed, 31 May 2000 13:22:52 -0100 Organization: Belgacom Skynet SA/NV Lines: 21 Message-ID: <3935203C.12F5A13F@skynet.be> References: <39350C6D.3AF68913@skynet.be> NNTP-Posting-Host: dialup290.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news0.skynet.be 959771992 22021 194.78.236.162 (31 May 2000 11:19:51 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 31 May 2000 11:19:51 GMT X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en Xref: news.cs.au.dk comp.lang.beta:12372 Flemming Gram Christensen wrote: > > Atle writes: > > > Person:(# name,addr,tlf:^Text #); > > in BETA: > new_person: > (# name:^text; > p:^Person; > enter name[] (* this is the parameter *) > do &person[]->p[]; > name.copy->p.name[]; (* copy name into p.name *) > ''->p.addr[]; (* empty addr *) > '112'->p.tlf[]; (* call police in EU *) > exit p[] > #); I knew it was simple. I have to take a timeout and get used to the idea that there is no such thing as a 'function call syntax'. Thanks!