Path: news.net.uni-c.dk!sunsite.dk!newsfeed1.uni2.dk!skynet.be!skynet.be!proxad.net!teaser.fr!easynet-quince!easynet-melon!easynet.net!uio.no!Norway.EU.net!not-for-mail From: Alf-Ivar Holm Newsgroups: comp.lang.beta Subject: Re: Now I start again Date: 16 Apr 2002 15:42:31 +0200 Lines: 24 Message-ID: References: NNTP-Posting-Host: 193.69.106.194 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: oslo-nntp.eunet.no 1018964551 20251 193.69.106.194 (16 Apr 2002 13:42:31 GMT) X-Complaints-To: abuse@KPNQwest.no NNTP-Posting-Date: 16 Apr 2002 13:42:31 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: news.net.uni-c.dk comp.lang.beta:13191 Jan Atle Ramsli writes: > No more Java! No more Prolog! No more C (well, let's remain on Earth) Prolog! I don't even remember its purpose!? > What did I do wrong (I fixed it by omitting f:(##), but I would like to > know > > f:@file(# NoSuchFileError::<(# do {Something cool on a status line} #); > listBoxFile:@f(# do 'listboxcontents.txt'->name #); > do listBoxFile.openRead; It has been some time for me too, but I think what is wrong is that you have something like this: f: @file; listBoxFile: @f; where f is already an instantiated version of file and (f) can not be subpatterned. If you make f into a pattern by removing the "@" your code should work, me thinks. Affi