comp.lang.ada
 help / color / mirror / Atom feed
* DOS Options
@ 2007-12-05  3:34 Charles H. Sampson
  2007-12-05  5:15 ` Jeffrey Creem
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Charles H. Sampson @ 2007-12-05  3:34 UTC (permalink / raw)


     I've been using GNAT 3.15p for a long time to write DOS-like
project utiities to run on my Wintel desktop.  I've just come up with a
case where I'd like to implement optional parameters.  Since the utility
is DOS-like, I want to use the DOS form of optional parameters: attached
to the name of the command, separated by the '/' character.

     I don't see how to do this.  Command_Line.Argument doesn't accept a
value of 0, which I remember as being the substring of the command line
from the first non-blank up to the first suceeding blank.  The note in
A.15 says that Command_Name is the equivalent of argv (0), but in GNAT
that's really just the command name, options stripped off.

     Does anybody have any suggestions?

                        Charlie

-- 
For an email response, insert "0824" between the 'c' and the 's'.



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

end of thread, other threads:[~2007-12-22  0:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-05  3:34 DOS Options Charles H. Sampson
2007-12-05  5:15 ` Jeffrey Creem
2007-12-19 18:00   ` Charles H. Sampson
2007-12-19 19:40     ` Gautier
2007-12-19 22:59       ` Randy Brukardt
2007-12-19 23:36         ` Adam Beneschan
2007-12-20 22:15           ` Randy Brukardt
2007-12-19 22:47     ` Randy Brukardt
2007-12-19 22:47     ` Randy Brukardt
2007-12-19 22:47     ` Randy Brukardt
2007-12-19 22:47     ` Randy Brukardt
2007-12-21  0:39       ` Jeffrey R. Carter
2007-12-22  0:45         ` Randy Brukardt
2007-12-05 10:06 ` gautier_niouzes
2007-12-05 10:19 ` Stephen Leake
2007-12-05 14:51 ` Charles H. Sampson
2007-12-05 20:06 ` anon

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