Path: news.net.uni-c.dk!noatun.mjolner.dk!mail-to-news From: Jan Atle Ramsli Newsgroups: comp.lang.beta Subject: Now I start again Date: Tue, 16 Apr 2002 10:41:47 +0200 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 31 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 1018959198 30832 130.225.4.254 (16 Apr 2002 12:13:18 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Tue, 16 Apr 2002 12:13:18 +0000 (UTC) Mailing-List: contact usergroup-help@mjolner.dk; run by ezmlm X-No-Archive: yes X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10 i686) X-Accept-Language: en X-Original-Message-ID: <3CBBE3CB.BC474414@skynet.be> X-Original-Sender: atle@riker.skynet.be Xref: news.net.uni-c.dk comp.lang.beta:13190 Hello, again! I am really ashamed of still being a newbie, it is a long time since I first made aquaintance with Beta. I promise to better myself! No more Java! No more Prolog! No more C (well, let's remain on Earth) 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; This is did not like, and told me something about the superpattern needing to be a simple pattern - I didn't understand it. It also said that name was not declared ... When I changed it to listBoxFile:@file(#NoSuchFileError::<(# do {Something cool on a status line} #); do 'listboxcontents.txt'->listBoxFile.name; listBoxFile.openRead It sang along like like a doo-waa lady ... no problem at all. What I fail to see is why? Can someone help me? Atle