[fpc-devel] RTTI's GetPropValue returns corrupt Boolean value
Michael Van Canneyt
michael at freepascal.org
Tue Nov 20 16:07:33 CET 2007
On Tue, 20 Nov 2007, Graeme Geldenhuys wrote:
> On 20/11/2007, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> >
> > I've extended the PropertyMatch() function to test for tkBool types
> > (no variants) and do a writeln when it finds it. That parts seems to
> > work fine.
>
>
> Here is the debug code I added to PropertyMatch() which successfully
> compare the results, but I have to explicitly cast GetOrdProp to a
> Boolean. Is that normal???
Yes.
Michael.
More information about the fpc-devel
mailing list