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 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!masscomp!joeo From: joeo@masscomp.westford.ccur.com (Joe Orost) Newsgroups: comp.lang.ada Subject: Re: Command line arguments Message-ID: <61952@masscomp.westford.ccur.com> Date: 2 May 91 11:20:46 GMT References: <1991Apr25.143711.11311@ecst.csuchico.edu> <3275@enea.se> <1991Apr30.135735.1211@iplmail.orl.mmc.com> <3034@cod.NOSC.MIL> Reply-To: joeo@tinton.ccur.com (Joe Orost ) Organization: Concurrent Computer Corp., Tinton Falls, NJ List-Id: In article <3034@cod.NOSC.MIL> sampson@cod.NOSC.MIL (Charles H. Sampson) writes: > Suppose there were a standard Ada technique >for accessing command line parameters. What would it gain you? You >could get at the parameters, but they would be different on different >operating systems, so the code to process those parameters would not be >transportable. > > In saying this I assume that you want the parameters in the VMS >version of your program to be VMS-like, and in the UNIX version to be >UNIX-like. If this assumption is wrong we can argue about it, but the >issue is then user interface, not Ada. The C language forces the UNIX style of command arguments onto different systems, and in doing so, has achieved a certain level of portability. Why can't the Ada language do the same thing (or even follow C's lead and also specify the UNIX conventions)? [In fact, POSIX/Ada provides this.] Aren't all future operating systems UNIX based, anyway :-) ? regards, joe -- Full-Name: Joseph M. Orost Email: joeo@tinton.ccur.com Phone: (908) 758-7284 Fax: (908) 758-7113 US Mail: MS 322; Concurrent Computer Corporation; 106 Apple St Tinton Falls, NJ 07724