[fpc-devel]question about compiler/messages.pas
Michail A.Baikov
baikov at mosfilm.ru
Sat Oct 21 09:15:48 CEST 2000
But for every error make case? ;) It's bad. May be i'm make function (ex:
errormessage(io:integer):string) and send to fpc-devel afternoon. ok?
----- Original Message -----
From: "Florian Klaempfl" <Florian.Klaempfl at gmx.de>
To: <fpc-devel at deadlock.et.tudelft.nl>
Sent: Saturday, October 21, 2000 2:01 AM
Subject: Re: [fpc-devel]question about compiler/messages.pas
> At 20:20 20.10.2000, you wrote:
> >number of string: 180
> >
> > {$I-}
> > reset(f);
> > {$I+}
> > if ioresult<>0 then
> > begin
> > WriteLn('*** message file '+fn+' not found ***');
> > exit;
> > end;
> >
> >Why everything not found? Better use Unable open blablabla... Don't
> >confusing users ;))
>
> Better would be to check the ioresult then and do a case ...
>
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list