[fpc-devel] RFC: TParam.AsBCD vs. AsFMTBCD

LacaK lacak at zoznam.sk
Wed Feb 23 13:33:59 CET 2011

Ok, here is patch for AsFMTBCD: TBCD ... 
Please review.
It seems, that methods TParam.GetData and SetData are not used at all 
... strange ;-)

> Well, the Delphi compatible way is usually preferred.
> It makes no sense to have both .asBCD and asFMTBCD to have the same 
> result type.
> The same can of course be said about .asBCD and .AsCurrency; But since
> Delphi compatibility is a goal, I think we should follow them.
> Borland could perfectly have sufficed with 2 properties (.AsCurrency, 
> AsBCD). For some reason they introduced 3.
> Michael.

More information about the fpc-devel mailing list