From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e6340deed4b219ea X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.75.234 with SMTP id f10mr2274208paw.8.1355065910970; Sun, 09 Dec 2012 07:11:50 -0800 (PST) Path: 6ni35808pbd.1!nntp.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: platform specific question Date: Sun, 09 Dec 2012 15:11:51 +0000 Message-ID: References: <5d3aff8d-529b-49ce-b583-525201c2b868@r20g2000yql.googlegroups.com> <03f19861-e90d-4664-8f1b-02580aea84c0@e25g2000vbm.googlegroups.com> Mime-Version: 1.0 X-Trace: individual.net L1TCutLNPBix9MQn/GT9UQpTao1AzV1oHV4z8zf8Vas9sIE9Ni4CyPk2XM/rVVZkSl Cancel-Lock: sha1:RE4uHtC7kWLHPiHgncC7aw+CNkU= User-Agent: Microsoft-Entourage/12.33.0.120411 Thread-Topic: platform specific question Thread-Index: Ac3WH4P3VGrOFr6b+kuwh5aEqpJ4Ew== Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: 2012-12-09T15:11:51+00:00 List-Id: On 09/12/2012 13:50, in article 03f19861-e90d-4664-8f1b-02580aea84c0@e25g2000vbm.googlegroups.com, "Hans Vlems" wrote: > On 7 dec, 19:29, Jeffrey Carter > 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. Indeed, but just as back in 1984, it is still named Ada, not ADA. -- Bill Findlay with blueyonder.co.uk; use surname & forename;