Path: news.net.uni-c.dk!noatun.mjolner.dk!mail-to-news From: Jan Atle Ramsli Newsgroups: comp.lang.beta Subject: Re: Now I start again Date: Tue, 16 Apr 2002 15:09:42 +0200 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 35 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: References: <20020416134604.28589.qmail@midgaard.mjolner.dk> 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 1018973452 13360 130.225.4.254 (16 Apr 2002 16:10:52 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Tue, 16 Apr 2002 16:10:52 +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: <3CBC2296.E86F12E4@skynet.be> X-Original-Sender: atle@riker.skynet.be Xref: news.net.uni-c.dk comp.lang.beta:13193 Alf-Ivar Holm wrote: > > Prolog! I don't even remember its purpose!? Hehe :-) It has two essential goals: ! and fail ... > 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. Absolutely! Tp make this crystal clear for posterity and possible newbies listening in: I tried to create and instance of an instance, which is total nonsense, like saying Atle is a man. Alf is an Atle who knows Beta /* this is obvious nonsense! */ The second should either be Atle is a man Alf is a man who knows beta or /* sublass directly */ a Betaman is a man who knows beta /* do it the way encouraged by Beta */ Alf is a Betaman What I tried to do was the last of these, create an intermediate layer. Atle