Hi Folks!
The following program compiles correctly (shouldn't there a warning?).
&<---------- (snip) ----------- program fail;
type TFoo = 2.7 .. 2.8;
var MyFoo: TFoo;
begin MyFoo := 1.0; WriteLn (MyFoo) end. &<---------- (snap) -----------
Notice, that you need spaces arround ".." to disable warning messages: "fail.pas:4: Only one decimal point in real number allowed"
My GPC version is: Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs gpc version 20010924, based on 2.95.2 19991024 (release)
Eike