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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2c79e691a3b59744 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-09 20:50:13 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!psinntp!isc-newsserver!vaxg.isc.rit.edu!JGS0132 From: jgs0132@vaxg.isc.rit.edu Subject: Re: Command line package for Alsys Ada Compiler Message-ID: <1994Nov10.031043.17304@ultb.isc.rit.edu> Sender: news@ultb.isc.rit.edu (USENET News System) Nntp-Posting-Host: vaxg-eth.isc.rit.edu Reply-To: jgs0132@vaxg.isc.rit.edu Organization: Rochester Institute of Technology References: Date: Thu, 10 Nov 1994 03:10:43 GMT Date: 1994-11-10T03:10:43+00:00 List-Id: In article , nelsonb@oodis01.hill.af.mil (Contractor Bert Nelson) writes: >Does the Alsys Ada compiler have a package that will allow programs >to use command line arguments? > >What is it called? > >Does someone have an example using this Alsys package? > > >On one project the government is considering moving from the current >AT&T Unix box with a Verdix compiler to an HP9000 with an Alsys compiler. >Throughout the programs the Verdix package COMMAND_LINE has been used and >would have to be changed to use the Alsys package that handles command >line arguments or call another package that has the same functionality. > >Bert Nelson >nelsonb@oodis01.hill.af.mil Bert, Yes, Alsys does provide such a package, SYSTEM_ENVIRONMENT. Off the top of my head I can not recall the exact operation names, but it allows you to access the argument count, the argument values, run system commands, get exit codes, suspend Ada tasking and resueme it etc. My question to you is, do you have to go to Alsys? Unless it is necessary I would not recommend it over Verdix. The compiler and library operations are far from intuative, the debugger handles taksing worst then the Verdix debugger, and there are several compiler bugs that I have not seen in Verdix. From my understanding, Verdix is also far more responsive to problems with their stuff then Alsys. If you have no other choice then to use Alsys Ada, I guess there is nothing you can do. If you do have a choice, however, remember even divisions of Alsys do not recommend their Ada compiler! Jon Sjoberg