S := AnsiDequotedStr('""', '"');
Return in S the same source string for empty quoted.
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.
--
Zaher Dirkey
zaher dirkey wrote:
S := AnsiDequotedStr('""', '"');
Return in S the same source string for empty quoted.
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
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
Peter Vreman wrote:
>> In case always check Delphi documentation to see wether the behaviour
>> you see is intentional.
>
> In case of "" it is also ambigious what you want. Because "" in the
> middle of the string is translated to a single ". So you might also
> expect that it returns a single "
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,
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 ch
Hi, all!
When trying to debug LCL DebugLn is rather useful.
AFAIU, decision about logging is carried out on initialization of LCLProc
unit.
Debugging ordinary progs is quite comfortable :).
Wince progs is the other story. As we don't have console on Wince (I mean
standart M$-made consol