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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 1014db,edd83659ff9286d0 X-Google-NewGroupId: yes X-Google-Thread: 103376,1cd9f7e5a0d12003 X-Google-NewGroupId: yes X-Google-Thread: 1094ba,1cd9f7e5a0d12003 X-Google-NewGroupId: yes X-Google-Attributes: gid4516fb5702,gida07f3367d7,gid8d3408f8c3,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.98 with SMTP id wh2mr23544981pbc.7.1337614668935; Mon, 21 May 2012 08:37:48 -0700 (PDT) MIME-Version: 1.0 Path: pr3ni21015pbb.0!nntp.google.com!news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: nospam@see.signature (Richard Maine) Newsgroups: comp.lang.c,comp.lang.ada,comp.lang.fortran Subject: Re: condition true or false? -> (-1 < sizeof("test")) Date: Mon, 21 May 2012 08:37:46 -0700 Message-ID: <1kkfrru.1ocj6kw18rvo84N%nospam@see.signature> References: <95634f38f6ee0d116da523fdc2c9f5ca@dizum.com> <00240c6dd26962f50d5c57a933c137ef@dizum.com> X-Trace: individual.net gsy+TrogW8XpuqQBmbFN4QZu5a87qv5Qw8mapigPnPbapRo7VIrzaPvnJkQ/ayJPqe X-Orig-Path: nospam Cancel-Lock: sha1:ZMrOkcEgYb3dbRWyayr+a9GxCxs= User-Agent: MacSOUP/2.8.3 (Mac OS X version 10.6.8 (x86)) Date: 2012-05-21T08:37:46-07:00 List-Id: Nomen Nescio wrote: > Forwarding this to guys who write code in real languages to see what they > think of this. AFAIK you cannot get something like that past the compiler in > Ada...and you would have to define a type or a subtype to even have an > unsigned int unless you use a modular type IIRC. In FORTRAN I don't remember > an unsigned integer but I haven't used it much since FORTRAN IV. Correct on the factual question. Standard Fortran has no unsigned kinds. Some compilers do such a thing as an extension, but as is the nature of extensions, one cannot guarantee that all compilers would make the same choices on the fine points. I won't comment on the rest. The parts you cited already sounded like a flame fest, and using a term "real languages" doesn't help much. I won't participate in any discussion that has already degraded to that point. -- Richard Maine | Good judgment comes from experience; email: last name at domain . net | experience comes from bad judgment. domain: summertriangle | -- Mark Twain