[fpc-pascal] AnsiDequotedStr not return empty for ""

Daniël Mantione daniel.mantione at freepascal.org
Sun Mar 2 13:08:01 CET 2008



Op Sun, 2 Mar 2008, schreef Micha Nelissen:

> Peter Vreman wrote:
>>> That also in Delphi, but it is for me wrong.
>>> In fact that make my program working wrong when send UserName=3D"Admin"
>>> and Password=3D"", it check password as '""' not empty.
>>
>> The behaviour is compatible with Delphi and will not be changed.
>
> Might as well remove it then, as it seems to me it's pretty useless this
> way, and people can only get confused in case empty things are not
> working as expected?

In case always check Delphi documentation to see wether the behaviour you =

see is intentional.

Dani=EBl


More information about the fpc-pascal mailing list