2 Jun
1999
2 Jun
'99
9:10 a.m.
Hello, I found the following bug in the Beta version of GPC. Best regards, Peter Dietrich -------------------- GPC-Version (gpc -v): Reading specs from C:\usr\local\lib\gcc-lib\i386-mingw32\2.8.1\specs gpc version 19990118, based on gcc-2.8.1 System-Version: Windows NT 4.0 on i386 Problem description: A variable of enum type cannot be used in a "for var in" statement. The following program results in compiler error message: test2.pas: In function `program_Test': test2.pas:7: incompatible types in assignment program test (output); type t = (red,green,blue); var e : t; begin for e in [red,green] do writeln (integer(e)); end.