comp.lang.ada
 help / color / mirror / Atom feed
* Ada Question
@ 1996-12-10  0:00 William Gilreath
  1996-12-11  0:00 ` Kirk Beitz
  0 siblings, 1 reply; 5+ messages in thread
From: William Gilreath @ 1996-12-10  0:00 UTC (permalink / raw)



Hello everyone,

	I've just started learning Ada, but find the language very well 
structured and designed. One question I have is that can Ada retrieve command 
line arguements...if so, is it a standard in the language? Please E-mail me, 
and with no rants or flames....thanks in advance for your help.

			William





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada Question
  1996-12-10  0:00 Ada Question William Gilreath
@ 1996-12-11  0:00 ` Kirk Beitz
  1996-12-13  0:00   ` MIROLO Sebastien
  0 siblings, 1 reply; 5+ messages in thread
From: Kirk Beitz @ 1996-12-11  0:00 UTC (permalink / raw)
  To: wfg1


wfg1@ra.msstate.edu (William Gilreath) writes:
> structured and designed. One question I have is that can Ada retrieve command 
> line arguements...if so, is it a standard in the language?

it is standard to the language.  it is called Ada.Command_Line .  it can be
found on the web at http://www.adahome.com/rm95/rm9x-A-15.html .  if you have
gnat installed on your un*x system, you can find it in the adainclude/
subdirectory of your installation.

--kirk beitz





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada Question
  1996-12-11  0:00 ` Kirk Beitz
@ 1996-12-13  0:00   ` MIROLO Sebastien
  1996-12-13  0:00     ` Alsys Ada 83 MS-DOS Command Line question (was: Ada Question) Larry Kilgallen
  1996-12-14  0:00     ` Ada Question Robert Dewar
  0 siblings, 2 replies; 5+ messages in thread
From: MIROLO Sebastien @ 1996-12-13  0:00 UTC (permalink / raw)



>> structured and designed. One question I have is that can Ada retrieve command 
>> line arguements...if so, is it a standard in the language?

> it is standard to the language.  it is called Ada.Command_Line .  it can be
> found on the web at http://www.adahome.com/rm95/rm9x-A-15.html .  if you have
> gnat installed on your un*x system, you can find it in the adainclude/
> subdirectory of your installation.
>
> --kirk beitz

This is fine if you got an Ada 95 compiler, but here we are always using an old
Ada 83 compiler (Alsys for MS-DOS). Could anyone remember how to retrieve command
line arguments in Ada 83 ?







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Alsys Ada 83 MS-DOS Command Line question (was: Ada Question)
  1996-12-13  0:00   ` MIROLO Sebastien
@ 1996-12-13  0:00     ` Larry Kilgallen
  1996-12-14  0:00     ` Ada Question Robert Dewar
  1 sibling, 0 replies; 5+ messages in thread
From: Larry Kilgallen @ 1996-12-13  0:00 UTC (permalink / raw)



In article <58rdj6$mtm@netserver.univ-lille1.fr>, mirolo@fil.univ-lille1.fr (MIROLO Sebastien) writes:
>>> structured and designed. One question I have is that can Ada retrieve command 
>>> line arguements...if so, is it a standard in the language?
> 
>> it is standard to the language.  it is called Ada.Command_Line .  it can be
>> found on the web at http://www.adahome.com/rm95/rm9x-A-15.html .  if you have
>> gnat installed on your un*x system, you can find it in the adainclude/
>> subdirectory of your installation.
>>
>> --kirk beitz
> 
> This is fine if you got an Ada 95 compiler, but here we are always using an old
> Ada 83 compiler (Alsys for MS-DOS). Could anyone remember how to retrieve command
> line arguments in Ada 83 ?

So it was understood that the standard answer was only for Ada 95.
Thus it was understood that any Ada 83 answer is not going to be
standard across all implementations.  This is my plea for better
topics such that the problem domain is more precisely outlined.

Larry Kilgallen




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ada Question
  1996-12-13  0:00   ` MIROLO Sebastien
  1996-12-13  0:00     ` Alsys Ada 83 MS-DOS Command Line question (was: Ada Question) Larry Kilgallen
@ 1996-12-14  0:00     ` Robert Dewar
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Dewar @ 1996-12-14  0:00 UTC (permalink / raw)



MIROLO Sebastian asked

"This is fine if you got an Ada 95 compiler, but here we are always using an old
Ada 83 compiler (Alsys for MS-DOS). Could anyone remember how to retrieve comman
d
line arguments in Ada 83 ?"



Be sure to say Ada 83 if you are talking about Ada 83 as opposed to
Ada 95. If you simply say Ada, people will assume you mean Ada 95, the
current version of the language, and not the old version which has been
superceded.

In Ada 83, there is no standard way of getting command line arguments.
It is implementation dependnet, and even varies from one compiler to another
from the same vendor.

But why not just consult your Alsys documentation (I know that the answer
is there, I helped write that documentation at the time!) You must have
full documentation if you have an Alsys compiler, since in those days
all Alsys compilers came with full paper documentation.






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-12-14  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-10  0:00 Ada Question William Gilreath
1996-12-11  0:00 ` Kirk Beitz
1996-12-13  0:00   ` MIROLO Sebastien
1996-12-13  0:00     ` Alsys Ada 83 MS-DOS Command Line question (was: Ada Question) Larry Kilgallen
1996-12-14  0:00     ` Ada Question Robert Dewar

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