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,606dce50cb9f8003 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-01 05:43:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!paloalto-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C08D082.851388AF@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: How to read console commands References: <3c08314e$0$158$9b622d9e@news.freenet.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 01 Dec 2001 13:43:21 GMT NNTP-Posting-Host: 158.252.123.182 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1007214201 158.252.123.182 (Sat, 01 Dec 2001 05:43:21 PST) NNTP-Posting-Date: Sat, 01 Dec 2001 05:43:21 PST X-Received-Date: Sat, 01 Dec 2001 05:43:22 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:17274 Date: 2001-12-01T13:43:21+00:00 List-Id: Heiko Hamann wrote: > > Hi! > > I would like to read console commands that were included like this: > "program -d=500 e=12" > with a Ada program. How can that be done? I wrote a command line parser a few years ago that's designed to be a framework for processing command line options and arguments. It's at: http://www.adapower.com/reuse/cmd_line.html Marc A. Criley