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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b623fee799cb68b3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-11 05:03:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C15F636.EBF841CB@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Command_Line question References: <3C151B2C.4010601@oek.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 11 Dec 2001 13:03:23 GMT NNTP-Posting-Host: 63.178.185.169 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1008075803 63.178.185.169 (Tue, 11 Dec 2001 05:03:23 PST) NNTP-Posting-Date: Tue, 11 Dec 2001 05:03:23 PST X-Received-Date: Tue, 11 Dec 2001 05:03:25 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:17744 Date: 2001-12-11T13:03:23+00:00 List-Id: "Peter I. Hansen" wrote: > > Hello > > I'm new to Ada95, and I'm trying to write a program which needs to read > arguments from the command line. I found out that the Command_Line > package is the way to go, but something i don't get. Another way to go is to use my command line utility for extracting and identifying options and arguments. It's available at http://www.adapower.com/reuse/cmd_line.html. It's basically a generic that is instantiated with a type corresponding to the options you define, and the characters or strings that that represent them. It also handles just plain arguments, and allow "help" to be provided as well. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com