Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 19:11:49 +0000 (GMT)
From:      "P. U. (Uli) Kruppa" <root@pukruppa.de>
To:        angela <angelayu@ca.inter.net>
Cc:        Lanny Baron <lnb@FreeBSDsystems.COM>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: one & and two &&
Message-ID:  <20010718190539.U3625-100000@localhost.de>
In-Reply-To: <3B55BC96.8E7B1F30@ca.inter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jul 2001, angela wrote:

> Date: Wed, 18 Jul 2001 12:43:03 -0400
> From: angela <angelayu@ca.inter.net>
> To: Lanny Baron <lnb@FreeBSDsystems.COM>,
>      "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
> Subject: one & and two &&
>
> Hi Lanny Baron
>
>
> What is differenet one '&' and two '&&'
& is the logical "and" condition:
a&b=true if (a=true and b=true)
(both a and b are checked)

&& is a 'technical' "and" condition:
only check b=true if a=true (anything else would be a waste
of time)


Uli.


*--------------------------------------*
|  www.pukruppa.de       www.2000d.de  |
|          Wuppertal - Germany         |
*--------------------------------------*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010718190539.U3625-100000>