Path: news.cs.au.dk!news.net.uni-c.dk!newsfeed1.uni2.dk!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: program 'cat.bet': Suggested implementation? Date: Sun, 18 Jun 2000 23:02:58 -0100 Organization: Belgacom Skynet SA/NV Lines: 29 Message-ID: <394D6332.D6C6CFB5@skynet.be> References: <394D2663.37AB97D4@skynet.be> <8ijcf8$7o4o$1@xinwen.cs.au.dk> NNTP-Posting-Host: dialup51.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news0.skynet.be 961361902 15059 195.238.7.51 (18 Jun 2000 20:58:22 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 18 Jun 2000 20:58:22 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:12418 Jorgen Lindskov Knudsen wrote: > > Atle wrote in message <394D2663.37AB97D4@skynet.be>... > >I have gotten to a problem here ... the problems are: > > > >Am I using the right libraries? > > Yes > > >I see a ref to 'OK' in basiclib-26.html, but don't understand it. > > Well, I cannot find 'OK' in basiclib-26.html > > >What does openfile exit? > > Nothing. > > The correct program part is: > > fil: @file(# accesserror:: (# do false->OK #); > nosucherror:: (# do false->OK #); > othererror:: (# do false->OK #); > #); > ... > true->OK; > fil. openread; So, OK is internal to the file object, I guess. Thanx. In fact, I guess the way to do it is to check the definitions of file in the interface ...