comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: platform specific question
Date: Fri, 07 Dec 2012 11:29:30 -0700
Date: 2012-12-07T11:29:30-07:00	[thread overview]
Message-ID: <k9tcif$44r$1@dont-email.me> (raw)
In-Reply-To: <5d3aff8d-529b-49ce-b583-525201c2b868@r20g2000yql.googlegroups.com>

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-15.html); 
for environment variables, package Ada.Environment_Variables (ARM A.17, 
http://www.adaic.org/resources/add_content/standards/05rm/html/RM-A-17.html).

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



  reply	other threads:[~2012-12-07 18:29 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 [this message]
2012-12-09 13:50   ` Hans Vlems
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