comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Program identification
Date: 1996/09/15
Date: 1996-09-15T00:00:00+00:00	[thread overview]
Message-ID: <1996Sep15.092512.1@eisner> (raw)
In-Reply-To: 323AC25C.722@lmtas.lmco.com


In article <323AC25C.722@lmtas.lmco.com>, Ken Garlington <garlingtonke@lmtas.lmco.com> writes:
> James A. Krzyzanowski wrote:
>> 
>> Chris Sparks (sparks@AISF.COM) wrote:
>> : Does anyone know of a way to determine the program name within a program
>> 
>> Using Alsys Ada on an HP/UX platform, it would be...
>> 
>> System_Environment.Arg_Value (Index => 0);
> 
> I assume this is the same as Ada.Command_Line.Command_Name?

But if so, then it should not be taken as "program name"
by the programmer, as it would merely represent whatever
the user had chosen to call the program, suitable only
for displaying back to the user. It could _not_ be used
to determine whether this unit was currently linked into
the toaster-pop program or the missile-launch program
(same general concept, but on differing scale and requiring
different levels of authentication - we hope).

Larry Kilgallen




  reply	other threads:[~1996-09-15  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-29  0:00 Program identification Chris Sparks
1996-08-31  0:00 ` Robert A Duff
1996-08-31  0:00   ` Ray Blaak
1996-08-31  0:00     ` Robert A Duff
1996-08-31  0:00 ` Ray Blaak
1996-08-31  0:00 ` Dale Stanbrough
1996-09-02  0:00 ` Stephen & Tammy House
1996-09-03  0:00 ` David C. Hoos, Sr.
1996-09-13  0:00 ` James A. Krzyzanowski
1996-09-14  0:00   ` Ken Garlington
1996-09-15  0:00     ` Larry Kilgallen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-08-31  0:00 tmoran
1996-08-31  0:00 ` Robert A Duff
1996-09-02  0:00 tmoran
1996-09-03  0:00 ` Joel VanLaven
replies disabled

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