[fpc-pascal] TParamFlags and fpc 3.2.0.

fredvs fiens at hotmail.com
Sun Jul 28 21:48:28 CEST 2019

> Well, nicer would be if you'd do it inside the main for-loop. 

Yes, I 100 % agree with that but...
After *lot of* try and *lot of* headaches I give up.

I perfectly understood (I think) your code with filter inside the loop, it
should work but the result is not ok.
There s a strange $self first parameter added in the params-array.
I do not understand why.

That said, the procedure is used to parse code via the mse designer, using
only methods of msegui widgets.
So speed is not really important.
And I doubt that doing the filter after the loop will take lot of more time
and resource that doing inside.

> What do you mean?

What number FPC_FULLVERSION will be used for the new feature of TParamsFlag?

For example, if FPC_FULLVERSION >= 030100 then tparamsflag uses wordset
(otherwise byteset).
                    if FPC_FULLVERSION >= 030200 (not sure of the number)
then use pfHidden flag.
                    if FPC_FULLVERSION >=  ?????? then use new feature you
are talking.




Many thanks ;-)
Sent from: http://free-pascal-general.1045716.n5.nabble.com/

More information about the fpc-pascal mailing list