Hello,
This is not about a bug, I'm just trying to understand how gpc works. I
have some experience--as an amateur, though--with TPW1.5 (MS-Windows)
and TP6.0 (MS-DOS), and with SunWorkshop Pascal Compiler 4.2 (SunOS
5.5.1). I'm trying to compile some Pascal code of my own with the GNU
Pascal Compiler on a PC running RedHat Linux 4.2.
Questions:
1. How do I suspend I/O error messages in order to detect the
presence/absence of a file? In Turbo Pascal, one does this as follows:
{$I-}
reset(file);
{$I+}
if IOResult <> 0 then...
In SunWorkshop Pascal it's a little bit more complicated even if its
different.
Is there something similar to these in GNU Pascal?
2. Where do I get a list of compile-time and run-time errors?
Thank you very much for any help you can provide.
Laurentiu COCEA
--
Laurentiu COCEA, M.D., M.Sc.
Institut National de la Sante et de la Recherche Medicale, U.373
Faculte de Medecine Necker, 8e etage, porte 811Ter
156 rue de Vaugirard, 75730 Paris Cedex 15, France
Ph:(33)14061-5384 Fax:(33)14061-5590 e-mail:cocea@necker.fr