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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d8bc00b1190f5f9 X-Google-Attributes: gid103376,public From: nabbasi@pacbell.net Subject: Re: GETARG in Ada? Date: 1999/03/02 Message-ID: <7bhd6o$lp4@drn.newsguy.com>#1/1 X-Deja-AN: 450485998 References: <7b9r2g$lha$1@netra.msu.montana.edu> <0PjuprqY#GA.177@pet.hiwaay.net> <7ba3n9$kbr@drn.newsguy.com> Organization: Newsguy News Service [http://www.newsguy.com] Newsgroups: comp.lang.ada Date: 1999-03-02T00:00:00+00:00 List-Id: In article , Stephen says... > > >As this last line says, what you want to call from Ada is the GNU >getopt C function. I just ran across this function in some code I was >reading recently, and it does look powerful. Here's the spec from the >gcc sources (edited to remove #ifdefs that handle non-standard >compilers): > >/* For communication from `getopt' to the caller. ..snipp... > >Anyone want to give it a shot? > >-- Stephe You can download the Ada getopt package from my ada page: http://home.pacbell.net/nma123 Nasser