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: 103376,2c4429dc5b1f1886 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!g1g2000pre.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Ada Leaking Into Day Job Date: Fri, 19 Mar 2010 14:53:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <00bf1adf-0a87-42d4-ae72-f80dd125279a@g1g2000pre.googlegroups.com> References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1269035616 31262 127.0.0.1 (19 Mar 2010 21:53:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 19 Mar 2010 21:53:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g1g2000pre.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:10647 Date: 2010-03-19T14:53:36-07:00 List-Id: On Mar 19, 10:24=A0am, Warren wrote: > Heh, heh... today I got several COBOL compile > errors, telling me that Ada is leaking into my > day job: > > =A0 =A0 ... > =A0 =A0 END EVALUATE > > (Should be END-EVALUATE) > > =A0 =A0 IF RET-CODE /=3D 0 THEN > > (you get the idea). I never had this problem with > C/C++ :) I wonder how many programmers have had Ada leak into their C/C++ and have written something like if (code /=3D 0) { ... } This is valid C, so the compiler won't complain, but it will not quite do what you want. :) -- Adam