comp.lang.ada
 help / color / mirror / Atom feed
From: Al Christians <achrist@easystreet.com>
Subject: Re: Ada 95 LRM Error?
Date: 1999/01/28
Date: 1999-01-28T00:00:00+00:00	[thread overview]
Message-ID: <36B0A3CD.E8F5BDA3@easystreet.com> (raw)
In-Reply-To: 78q2p6$e6v$1@nnrp1.dejanews.com

robert_dewar@my-dejanews.com wrote:
> 
> 
> I don't see anyway the interface can be compatible with
> odd non-standard COBOL stuff like this!
> 

There's also the issue of minimum and maximums within the
binary data types.  A cobol pic S9(9) comp will generally be
represented as 32-bit integer, and the corresponding Ada type 
will have digits 9. But the 32-bit integer can hold some 10-digit
values. IDK which Cobol compilers do how much to prevent these
from actually existing -- I suppose it depends on how much run-time
type checking is turned on in the programs. I assume that these 
values, if they exist, should cause an error of some kind if 
Interfaces.Cobol comes across them.   

Al




      reply	other threads:[~1999-01-28  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-27  0:00 Ada 95 LRM Error? Al Christians
1999-01-27  0:00 ` Martin C. Carlisle
1999-01-28  0:00   ` J. David Bryan
1999-01-28  0:00 ` robert_dewar
1999-01-28  0:00 ` Richard D Riehle
1999-01-27  0:00   ` Al Christians
1999-01-28  0:00     ` Richard D Riehle
1999-01-28  0:00       ` Interfaces.Cobol (Was LRM Error?) Al Christians
1999-01-29  0:00       ` Ada 95 LRM Error? robert_dewar
1999-01-31  0:00         ` Keith Thompson
1999-02-01  0:00           ` Types (was Ada 95 LRM Error?) Richard D Riehle
1999-02-02  0:00           ` Ada 95 LRM Error? robert_dewar
1999-01-28  0:00     ` robert_dewar
1999-01-28  0:00       ` Al Christians [this message]
replies disabled

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