<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The following works well and it is simple enough
that I can almost understand it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks everyone.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Bob</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>if DBEdit2.Text <> '' then<BR>DBCheckBox4.Enabled :=
true<BR>else<BR>DBCheckBox4.Enabled := false</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=colin.adug@gmail.com href="mailto:colin.adug@gmail.com">Colin
Johnsun</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@delphi.org.nz
href="mailto:delphi@delphi.org.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 26, 2010 5:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [DUG] Enable CheckBox</DIV>
<DIV><BR></DIV>Yeah, that was my thinking on the topic too! But you said it
much better :)
<DIV><BR></DIV>
<DIV>BTW, I'm wondering if Bob, the originator of this thread, wants to chime
in and let us know if any of these suggestions helped or not.</DIV>
<DIV><BR>
<DIV class=gmail_quote>On 27 April 2010 10:34, Jolyon Smith <SPAN
dir=ltr><<A
href="mailto:jsmith@deltics.co.nz">jsmith@deltics.co.nz</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV lang=EN-US vlink="purple" link="blue">
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">Maybe it’s just me, but “A
doesn’t equal B” surely reads more closely to the <I>real meaning</I> than
“not (A does equal B)”.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">Apart from anything else,
the latter <B>requires</B> parentheses to avoid the compiler getting
confused and trying to do : “(Not A) equals (B)”. i.e. the latter
syntax is also to the compiler less close to the real meaning (since it
requires disambiguation).</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">From a human perspective
the scanning is more fluid: A <> B, reads left to right entirely
as intended: “A does not equal B”.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">NOT (A = B) on the other
hand requires me to read it like a syntax tree parser: “NOT “ … (OK,
store the fact that I have to logically invert what follows, keep a mental
note of parentheses) … then what follows is “( A is equal to B )” , right
OK, so “A is equal to B inverted”, i.e. A does not equal B.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">In other words, exactly
what is menat literally and clearly when I write… A <> B.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">But as I say, maybe it’s
just me.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">NOT (I think like a
computer).</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt"></SPAN> </P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt">;)</SPAN></P>
<P class=MsoNormal><FONT class=Apple-style-span color=#993366 size=4><SPAN
style="FONT-SIZE: 15px"
class=Apple-style-span><BR></SPAN></FONT></P></DIV></DIV></BLOCKQUOTE></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>NZ Borland
Developers Group - Delphi mailing list<BR>Post: delphi@delphi.org.nz<BR>Admin:
http://delphi.org.nz/mailman/listinfo/delphi<BR>Unsubscribe: send an email to
delphi-request@delphi.org.nz with Subject:
unsubscribe</BLOCKQUOTE></BODY></HTML>