comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Ada Leaking Into Day Job
Date: Fri, 19 Mar 2010 14:53:36 -0700 (PDT)
Date: 2010-03-19T14:53:36-07:00	[thread overview]
Message-ID: <00bf1adf-0a87-42d4-ae72-f80dd125279a@g1g2000pre.googlegroups.com> (raw)
In-Reply-To: Xns9D40887322788WarrensBlatherings@188.40.43.245

On Mar 19, 10:24 am, Warren <ve3...@gmail.com> wrote:
> Heh, heh... today I got several COBOL compile
> errors, telling me that Ada is leaking into my
> day job:
>
>     ...
>     END EVALUATE
>
> (Should be END-EVALUATE)
>
>     IF RET-CODE /= 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 /= 0) { ... }

This is valid C, so the compiler won't complain, but it will not quite
do what you want.

:)
                       -- Adam



  reply	other threads:[~2010-03-19 21:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 17:24 Ada Leaking Into Day Job Warren
2010-03-19 21:53 ` Adam Beneschan [this message]
2010-03-21  0:21   ` Björn Persson
2010-03-22 15:18     ` Warren
2010-03-22  9:53 ` Gautier write-only
2010-03-22 16:55 ` KarlNyberg
2010-03-22 17:07   ` Gautier write-only
2010-03-24 21:48     ` Gautier write-only
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox