From: dewar@gnat.com (Robert Dewar)
Subject: Re: HELP: PC System Call
Date: 8 Jun 2002 05:16:41 -0700
Date: 2002-06-08T12:16:41+00:00 [thread overview]
Message-ID: <5ee5b646.0206080416.47dc6d13@posting.google.com> (raw)
In-Reply-To: ZtcM8.49323$KD3.980836@typhoon.ne.ipsvc.net
"John Cupak" <Jcupak744@attbi.com> wrote in message news:<ZtcM8.49323$KD3.980836@typhoon.ne.ipsvc.net>...
> I teach Ada 95 using N. Cohen's "Ada as a Second Language, 2ed".
>
> In the past, the students used UNIX workstations, and I assigned them
> the GETENV problem from them book. You know, call the UNIX
> getenv function with an environment variable, and get the mapped
> results back. We used all the C interface libraries, and it work just
> like in the book!
>
> But, now we've replaced all the UNIX workstations with PCs, and I
> need a similar problem to give the students.
>
> Does anyone have a nice, simple, Ada 95 "call" to an existing PC
> library function (even a DLL?) that I can substitute for the GETENV
> problem?
>
> Let me know both here, as well as my work email: John_J_Cupak@raytheon.com
Well if you did the reasonable thing and ran GNU/Linux on your PC's, you would
not even be asking this question :-)
Even if for some reason you are running Microsoft systems, this should still
work fine (interfacing to getenv) if you have an appropriate compiler interfaced.
next prev parent reply other threads:[~2002-06-08 12:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-08 0:46 HELP: PC System Call John Cupak
2002-06-08 6:40 ` Adrian Knoth
2002-06-09 4:04 ` Chad R. Meiners
2002-06-08 7:59 ` Jerry van Dijk
2002-06-08 12:16 ` Robert Dewar [this message]
2002-06-08 12:17 ` Robert Dewar
2002-06-09 10:51 ` Simon Wright
2002-06-08 12:42 ` Preben Randhol
2002-06-09 3:09 ` David Botton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox