Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Misc > Boolean incompr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 6074 of 6157
Post > Topic >>

Boolean incompréhensible

by "jg07" <jg07@[EMAIL PROTECTED] > Jun 14, 2008 at 11:08 PM

Bonjour

Pourquoi le programme suivant affiche-t-il true? Et que signifie (7 and x)
?

procedure TForm1.Button1Click(Sender: TObject);
var
x:byte;
begin
x:=3+2;
      if (7 and x)=5 then showmessage('true');
end;


Merci
 




 7 Posts in Topic:
Boolean incompréhensible
"jg07" <jg07  2008-06-14 23:08:02 
Re: Boolean =?windows-1252?Q?incompr=E9hensible?=
Jamie <jamie_ka1lpa_no  2008-06-14 17:42:44 
Re: Boolean =?ISO-8859-1?Q?incompr=E9hensible?=
Hans-Peter Diettrich <  2008-06-15 10:55:20 
Re: Boolean incompréhensible
"Maarten Wiltink&quo  2008-06-15 13:04:02 
Re: Boolean incompréhensible
"jmverdi" <j  2008-06-15 00:02:18 
Re: Boolean =?windows-1252?Q?incompr=E9hensible?=
Jamie <jamie_ka1lpa_no  2008-06-14 18:33:56 
=?UTF-8?Q?Re=3A_Boolean_incompr=EF=BF=BDhensible?=
"alanglloyd@[EMAIL P  2008-06-15 01:23:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 11:14:00 CDT 2008.