Hello Seighard.

Here a example maybe more clear:

msedrawtext.pas(1115,48) Warning: range check error while evaluating
constants (-1 must be between 0 and 3)

This warning point to:

--->  if (kind <> tabulatorkindty(-1)) 

and tabulatorkindty is declared as:

---> tabulatorkindty = (tak_left,tak_right,tak_centered,tak_decimal);

So, if I understand ok, with new feature of fpc, "-1" is no more permitted
as default.

What do you think, must a new constant be added in the array, this for the
default value, something like:

---> tabulatorkindty = (tak_left,tak_right,tak_centered,tak_decimal,
tak_none);

?

And then initialize it with:

--->  if (kind <> tabulatorkindty(tak_none) ? 

If so, maybe **lot of** work because Martin did use "-1" in many case.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to