Alistair

I would tend to guess that somewhere in your that in
evaluating RxCheckListBox6.Checked[2] causes an alteration in the
state of  Dateswitch and therefore forcing delphi to evaluate in a
particular
order causes it to work (ie the brackets)

Methink that  "if boolean1 and not boolean2" required bracketing, someone
would
have noticed by now

Neven

----- Original Message -----
From: "Alistair George" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 3:31 PM
Subject: Re[2]: [DUG]: coding


> Hello Neven,
> NM> As far as I can see the two expressions are the same, in fact the
brackets
> NM> in this case are redundant
> Yes, you and I would think so, but without the surrounding brackets it is
not correct.
> Dateswitch is boolean.
> To play it safe would be advisable to use surrounding brackets in dual or
more
> evaluations methinks.
> Al+
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to