comp.lang.ada
 help / color / mirror / Atom feed
From: Hans Vlems <hvlems@freenet.de>
Subject: Re: platform specific question
Date: Sun, 9 Dec 2012 05:50:20 -0800 (PST)
Date: 2012-12-09T05:50:20-08:00	[thread overview]
Message-ID: <03f19861-e90d-4664-8f1b-02580aea84c0@e25g2000vbm.googlegroups.com> (raw)
In-Reply-To: k9tcif$44r$1@dont-email.me

On 7 dec, 19:29, Jeffrey Carter <spam.jrcarter....@spam.not.acm.org>
wrote:
> On 12/07/2012 11:14 AM, Hans Vlems wrote:
>
> > C programs have easy access to commandline arguments and "environment
> > variables".
> > Is there a way to interpret the environment variables on a Windows
> > (2008 Server R2) platform?
> > What I'm looking for is the usercode that executes the program. Some
> > programs offer different functionality which is now derived from a
> > table that is organised by username/usercode.
>
> For command-line arguments, there's package Ada.Command_Line (ARM A.15,http://www.adaic.org/resources/add_content/standards/05rm/html/RM-A-1...
> for environment variables, package Ada.Environment_Variables (ARM A.17,http://www.adaic.org/resources/add_content/standards/05rm/html/RM-A-1...).
>
> Ada.Command_Line has existed since 1995; Ada.Environment_Variables came along in
> 2007.
>
> --
> Jeff Carter
> "I like it when the support group complains that they have
> insufficient data on mean time to repair bugs in Ada software."
> Robert I. Eachus
> 91

Jeff, thanks for the pointers.
I stopped using ADA in 1984 or so and have only recently returned to
the language.
If only to discover that ADA has changed a lot in the mean time.
Hans



  reply	other threads:[~2012-12-09 13:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 18:14 platform specific question Hans Vlems
2012-12-07 18:29 ` Jeffrey Carter
2012-12-09 13:50   ` Hans Vlems [this message]
2012-12-09 15:11     ` Bill Findlay
2012-12-10 11:36       ` Hans Vlems
replies disabled

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