[fpc-pascal] different windows/linux behavior with enumerated types and write/writeln

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jan 20 20:24:19 CET 2010


On 20 Jan 2010, at 20:07, Seth Grover wrote:

> In other words, it actually prints out the name of the enumerated value.
> 
> In windows the program does not compile with an error of "Error: Can't
> read or write variables of this type".
> 
> Why the difference in behavior?

Different compiler version. The above is only possible as of 2.4.0.


Jonas



More information about the fpc-pascal mailing list