[fpc-pascal] TParamFlags and fpc 3.2.0.

Sven Barth pascaldragon at googlemail.com
Sat Jul 27 18:50:25 CEST 2019


fredvs <fiens at hotmail.com> schrieb am Sa., 27. Juli 2019, 17:54:

> Hello Sven.
>
> > That said the code I showed you had an issue which might explain the
> > behaviour you got:
>
> I did try your new code but get that error message at compilation:
>
> msedesignparser.pas(722,11) Error: Incompatible types: got "TParamFlag"
> expected "methodflagty"
> msedesignparser.pas(2238) Fatal: There were 1 errors compiling module,
> stopping
> Fatal: Compilation aborted
>
>
> -------> Line 722,11 = "if not (pfHidden in flags) then"
>

Ah, right, of course. You need the part I added *inside* the with block of
params[count]. My fault (I'm doing this here on the fly, not testing it).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190727/6a6cbe34/attachment.html>


More information about the fpc-pascal mailing list