[fpc-devel] RFC: Procedure TParam.AssignFieldValue

LacaK lacak at zoznam.sk
Wed Feb 23 14:40:23 CET 2011

can anybody look into dsparams.inc at above mentioned method.
There are using 5 assigments : DataType := ...
1. because DataType is property it uses SetDataType method
2. SetDataType method try convert existing FValue into new FieldType
3. but later in AssignFieldValue is FValue rewritten by Value:=AValue 
(or Cleared)

So it seems to me that using DataType is unnecessary, I would suggest 
using FDataType:=...
What do you think ?


More information about the fpc-devel mailing list