[thechat] Visual Basic: "And", "Or" operators: Help?

John Handelaar john at evolt.org.uk
Sat Oct 19 10:50:01 CDT 2002


% -----Original Message-----
% From: thechat-admin at lists.evolt.org
% [mailto:thechat-admin at lists.evolt.org]On Behalf Of Syed Zeeshan Haider
% Sent: 19 October 2002 16:41
% To: Evolt TheChat
% Subject: [thechat] Visual Basic: "And", "Or" operators: Help?
%
% If harf = "A" And (lst <> Empty Or lst <> " ") Then
% 'do something

a)  This belongs on thelist, not here :-)

b)  I don't use VB but it seems that what you might want
    is

    if (harf = "A" and (lst <> Empty Or lst <> " "))

------------------------------------------
John Handelaar

T +44 20 8933 1494       M +44 7930 681789
F +44 870 169 7657   E john at userfrenzy.com
------------------------------------------



More information about the thechat mailing list