Am 02.07.2017 um 19:29 schrieb Martok:
>    type Percentile = 1..99;
>    var I: Percentile;
>    begin
>      I:= 99;
>      inc(I);   // I is now 100

Forgot the mention:
Tried with $r+ :)?

>    So if this is a legal statement, 

Well, it is a matter of definition, if a statement causing a rte 201 when 
compiled with $r+ is a
legal statement ...


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to