From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b9cb18e1220c16c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-07 10:02:52 PST From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Where did /= come from? Date: Thu, 07 Nov 2002 19:02:31 +0100 Organization: JeLlyFish software References: <3DC93F8B.9E28FD15@mmm.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.3.188.187 Message-ID: <3dcaaac6_1@news.bluewin.ch> X-Trace: news.bluewin.ch 1036692166 213.3.188.187 (7 Nov 2002 19:02:46 +0100) X-Complaints-To: abuse@bluewin.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news100.image.dk!feed.news.nacamar.de!newsfeed.stueberl.de!solnet.ch!solnet.ch!news.magnet.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:30548 Date: 2002-11-07T19:02:31+01:00 List-Id: "Matthew Baulch" wrote: > In C, the Negative of a bool is retrieved with !foo. Well, because C has no "bool" in the sense of Boolean variables, this is rather irrelevant. The "!" probably was literally meant as "not" but does not really do it, it just acts like a "compare with zero", simulating a Boolean. :-) So "!=" does not make sense from this point of view. One could argue, its just the best "visual" replacement they could get for a "/=" what could not be used because it was already meant to be a complete different thing. ;-) Vinzent.