Sorry I am a never-give-it-up...

So, about those famous 2 last warnings:

I propose this to make the compiler happy:

- First warning:

> msedatalist.pas(891,18) Warning: (4110) Range check error while evaluating
> constants (-193 must be between 0 and 255)

   Point to:
   foldlevelmask = byte(not (foldhiddenmask or currentfoldhiddenmask));

   I propose this instead (see abs()):
   foldlevelmask = byte(abs(not (foldhiddenmask or currentfoldhiddenmask)));

- Last warning:

> mseactions.pas(762,34) Warning: (4110) Range check error while evaluating
> constants (-63489 must be between 0 and 65535) 

   Point to:
   result:= (key <> 0) and (key <> word(not modmask));

   I propose this instead (see abs()):
   result:= (key <> 0) and (key <> word(abs(not modmask)));

What do you think?

Fre;D



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


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to