Hi,
the following little program doesn't run under gpc version 2.0(2.7.2.1)!
program lesen (infile,output);
const n = 100;
type text = File of char; filearray = array[1..n] of real;
var i : integer; infile : text; filearray1 : filearray;
begin reset(infile); for i:= 1 to n do begin read(infile,filearray1[i]); write(filearray1[i]); end;
end.
I get the compiler message:gpc: Internal compiler error: program gpc1 got fatal signal 6 I know that the program runs under a Sun-Compiler!
when I substitute filearray = array[1..n] of real; by filearray = array[1..n] of integer; , then compilation is successful.
Michael.
mail:hofmann@ph2.uni-koeln.de