[yunqa.de] QutedStr function problem

  • From: "Radovan Antloga" <radovan.antloga@xxxxxxxx>
  • To: <yunqa@xxxxxxxxxxxxx>
  • Date: Fri, 7 Mar 2008 15:26:34 +0100

I was not aware of this until today when
I had problem in program (customer call
me). I was expecting single quote as
function SysUtils.QuotedStr works.
In same unit I have changed uses units
and added DISQLite3Api unit. Now all
QuotedStr was double quoted strings
(not expected).

I think this is not good practice to have
same function names. I know I can prefix
all functions with unit but I must be very careful not to miss someone and I have
to change (fix) current code.

I would suggest to change it to QuotedStr8
as it is Sql8 and SQL16. Then it would be
QuotedStr8, QuotedStr16. I think this would
not break some code but would not conflict
with already written code.

Regards,
Radovan Antloga
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: