Eike Lange wrote:
The following program compiles correctly (shouldn't there a warning?).
Uaaah! Not only a warning, but an error, of course. I'll fix it immediately. Thanks for the report. (eike1[ab].pas)
&<---------- (snip) ----------- program fail;
type TFoo = 2.7 .. 2.8;
var MyFoo: TFoo;
begin MyFoo := 1.0; WriteLn (MyFoo) end. &<---------- (snap) -----------
Frank