From: defaria@hpclapd.HP.COM (Andy DeFaria)
Subject: Re: Keyboard input
Date: 24 Sep 90 16:18:29 GMT [thread overview]
Message-ID: <920032@hpclapd.HP.COM> (raw)
In-Reply-To: 39@screamer.csee.usf.edu
>/ hpclapd:comp.lang.ada / mfeldman@seas.gwu.edu (Michael Feldman) / 1:13 pm Sep 22, 1990 /
>Indeed the solution is to call a routine from the operating system,
>preferably by writing exactly the IO routine you need in C (for instance)
>and making it Ada-callable by using pragma INTERFACE.
>
>I'm not sure what you mean by "it isn't Ada or portable." If you mean that
>it should have been included as a standard I/O package, you may be right;
>I think I'd agree.
I think it's pretty simple: If you have to resort to using C instead of
Ada then it's not Ada is it? What so hard to understand about that? And
what happens when you port this to a system that doesn't have C huh? I
mean, what if the poor guy doesn't have anything but Ada?
>There are _lots_ of things that people could say should have been included
>in the standard; undoubtedly your list would not be exactly the same list
>as mine. That's the way it goes; the standard can't include everything in
>the whole world. So we all cope by adding additional packages. If they
>have to be written in another language and "pragma INTERFACE-d" to make
>them Ada-callable, that is not sinful.
Yeah it's not standard, it's not contained in TEXT_IO and all that. Also,
I've probably done more pragma INTERFACE'ing than you have. But that don't
make it portable. At best it opens up opportunties for portablity
problems.
But still how can you do this in Ada? (A: You can't.) Well what about
people who only have Ada? (A: They're stuck.)
next prev parent reply other threads:[~1990-09-24 16:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-09-18 20:32 Keyboard input Gregory M. Stelmack
1990-09-19 19:27 ` Terry J. Westley
1990-09-20 20:29 ` Gregory M. Stelmack
1990-09-20 23:20 ` Charles H. Sampson
1990-09-21 17:50 ` Andy DeFaria
1990-09-22 20:13 ` Michael Feldman
1990-09-24 8:58 ` Richard A. O'Keefe
1990-09-24 13:58 ` Michael Feldman
1990-09-24 16:27 ` Keyboard input on IBM mainframes Jerry Callen
1990-09-24 17:44 ` Ada " Michael Feldman
1990-09-26 13:16 ` ryer
1990-09-26 0:16 ` Keyboard input Chris Holl @adonna
1990-09-22 0:21 ` Naasif Gierdien
1990-09-22 0:25 ` Naasif Gierdien
1990-09-24 16:18 ` Andy DeFaria [this message]
1990-09-25 14:11 ` Edward Falis
1990-09-25 15:10 ` Michael Feldman
1990-09-25 18:13 ` John Prentice
1990-09-25 13:36 ` stt
-- strict thread matches above, loose matches on Subject: below --
1990-09-24 19:00 "EDWARD CRAGG"
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox