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="Admin"
and Password="", 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ël
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to