comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Leading zeros with Int_IO.Put()? Or another package?
Date: 1996/11/17
Date: 1996-11-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.848238868@merv> (raw)
In-Reply-To: 56bg5v$14u$1@goanna.cs.rmit.edu.au


Robin says

"Isn't it amazing!  Robert Dewar [among others] already has
had an opportunity to reply in this vein to the original
posting and subsequent ones, but it didn't occur to him to
do so, more than likely because he didn't know that a limited
facility existed in Ada."

Well nice to wake up to another entertaining post from Robin! I guess we
can't blame him too much, he clearly knows neither Ada nor the people
involved with it :-)

I do of course know quite well the Ada picture facility - I helped
design it, and in particular, probably as much as anyone I was responsible
for the decision to mirror COBOL very closely (as Robin may not know,
I am pretty familiar with COBOL, having written a big chunk of one of
the two COBOL compilers in wide spread use on PC's today -- namely the
Computer Associates Realia compiler).

What Robin is probably not aware of is that the picture facilities are
in the Information Systems annex, which means that they are not available
in all implementations, in particular, at the moment only GNAT implements
these facilities. So the solution using string operations is more portable.

As for PL/1 here, although generally I don't think it's nearly as terrible
a language as its reputation, I do think it got things wrong in the picture
area, and did not improve on COBOL. No, RObin, I don't care to elaborate, 
because I don't think enough people are interested enough in PL/1 to make
it worth the time.

Picture processing is something that COBOL got right. I see no reason
to do things much differently from COBOL in this area. 

By the way, I guess Robin should get a new printer, one with pages that
hold more than a few lines, since of course in practice the solution
with pictures is quite concise in Ada.

P.S. regarding the informatoin systems annex, it is not the case that you
can take GNAT libraries and use them with other Ada 95 compilers. The
reason has nothing to do with licenses, but rather is technical. The
library units from annex F supplied with GNAT assume very extensive
support from the compiler itself (18 digit decimal with proper decimal
fixed point semantics and handling of the intrinsic divide for example),
and at the moment only GNAT provides the necessary compiler support. I
mention this because several times now we have received questions from
people asking us if they could get annex F stuff working by (e.g.)
combining the TSP compiler and the GNAT library routines, and the answer
is unfortunately no so far!





  parent reply	other threads:[~1996-11-17  0:00 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-05  0:00 Leading zeros with Int_IO.Put()? Or another package? J.D. Baldwin
1996-11-05  0:00 ` Samuel Tardieu
1996-11-05  0:00 ` David Shochat
1996-11-08  0:00   ` robin
1996-11-08  0:00     ` Robert Dewar
1996-11-10  0:00       ` Verne Arase
1996-11-13  0:00       ` robin
1996-11-13  0:00         ` Ken Garlington
1996-11-19  0:00           ` robin
1996-11-22  0:00             ` Ken Garlington
1996-11-22  0:00             ` Robert Dewar
1996-11-17  0:00         ` Robert Dewar [this message]
1996-11-13  0:00       ` robin
1996-11-13  0:00         ` Ken Garlington
1996-11-19  0:00           ` robin
1996-11-19  0:00             ` Robert Dewar
1996-11-20  0:00             ` Richard A. O'Keefe
1996-11-20  0:00               ` robin
1996-11-20  0:00                 ` Robert Dewar
1996-11-22  0:00                   ` Richard A. O'Keefe
1996-11-25  0:00                   ` shmuel
1996-11-20  0:00                 ` Richard A. O'Keefe
1996-11-22  0:00                   ` robin
1996-11-22  0:00                     ` Richard A. O'Keefe
1996-11-23  0:00                       ` robin
1996-11-20  0:00                 ` Larry J. Elmore
1996-11-25  0:00                   ` robin
1996-11-25  0:00                     ` Robert Dewar
1996-11-26  0:00                     ` Larry J. Elmore
1996-11-21  0:00                 ` Jerry Coffin
1996-11-22  0:00                 ` Ken Garlington
1996-11-20  0:00               ` Robert Dewar
1996-11-20  0:00             ` Norman H. Cohen
1996-11-22  0:00             ` Ken Garlington
1996-11-27  0:00               ` Verne Arase
1996-12-02  0:00                 ` Ken Garlington
     [not found]             ` <56tjrh$4a <MPLANET.3294c204jcoffin989a3e@news.rmi.net>
1996-11-24  0:00               ` Bert
1996-11-08  0:00     ` Ken Garlington
1996-11-21  0:00   ` Robert I. Eachus
1996-11-22  0:00     ` robin
1996-11-06  0:00 ` Norman H. Cohen
1996-11-07  0:00   ` Pascal Obry
1996-11-07  0:00     ` Norman H. Cohen
1996-11-08  0:00   ` Norman H. Cohen
1996-11-09  0:00     ` Robert Dewar
1996-11-06  0:00 ` Stephen Leake
1996-11-06  0:00 ` Robert I. Eachus
1996-11-08  0:00   ` Norman H. Cohen
1996-11-08  0:00 ` David Emery
1996-11-24  0:00 ` Fergus Henderson
1996-11-24  0:00   ` Robert Dewar
1996-11-25  0:00     ` Larry Kilgallen
1996-11-25  0:00     ` J. David Bryan
1996-11-27  0:00     ` Verne Arase
1996-11-28  0:00   ` Richard A. O'Keefe
  -- strict thread matches above, loose matches on Subject: below --
1996-11-05  0:00 Collection of 2500+ links about Object-Orientation - interested ? Manfred Schneider
1996-11-07  0:00 ` Leading zeros with Int_IO.Put()? Or another package? John Herro
1996-11-07  0:00   ` Robert Dewar
1996-11-07  0:00   ` James Rogers
1996-12-15  0:00 Robert Dewar
replies disabled

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