Hello fredvs,

you wrote on Sun, 8 Mar 2020 06:10:57 -0700 (MST):

> Here the line with problems:
> 
>  --->  if fld1 is tblobfield and (self.fblobintf <> nil) then begin   
> 
> Changing, as workaround with:
> 
> --->   if (self.fblobintf <> nil) then begin   
> 
> Makes fpc 3.3.1 trunk happy.

But loses the plausibility control.
I'd rather suggest parentheizing the first partial expression, like so:

  if (fld1 is tblobfield) and (self.fblobintf <> nil) then begin

This way, there's no ambiguity about operator application, and both partial
expressions evaluate to type "boolean", so the "and" will be satisfied and
evaluated correctly.
If that's a solution to the problem, the reason was an ambiguity in
operator precedence - "and" regarded higher then "is".

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------




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

Reply via email to