Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Nov : What's wrong in this
| Subject: | What's wrong in this |
| Posted by: | "B. Eschrich" (bjoern.eschri..@is4it.de) |
| Date: | Tue, 28 Nov 2006 22:01:06 |
Hi @all,
a little question to you:
In this case 'UserID' is a proptery and has the type 'Variant'.
a) What's wrong in this method below?
b) Who can find and describe the real problem with this type of coding ?
function TCustomEndUserSessionAdapter.GetLoggedInValue: Boolean;
begin
Result := (not VarIsEmpty(UserID)) and (UserID <> '');
end;
cu B. Eschrich