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,3e7f2ffaa3097984,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-17 09:10:40 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!salliemae!uunet!pipex!sunsite.doc.ic.ac.uk!vax.sbu.ac.uk!fewellsj From: fewellsj@vax.sbu.ac.uk Newsgroups: comp.lang.ada Subject: Re: Command Line Parameters Message-ID: <1995Jan17.171040.8865@vax.sbu.ac.uk> Date: 17 Jan 95 17:10:40 GMT References: Reply-To: fewellsj@vax.sbu.ac.uk Keywords: command, parameters, library, ada Distribution: world Organization: South Bank University Date: 1995-01-17T17:10:40+00:00 List-Id: In article , m-bartz@memphis.edu (Michael Bartz) writes: > A very newbie question from a long-time C programmer: > > Can you pass command line arguments to an Ada program? > > How do you do it? > Yes you can pass command line arguments. How you do it, depends on what system you're using, but on the vax you can use the pragma command to import a procedure from the system called LIB$GET_FORRIGN, this allows you to access any command line parameters passed. Steve.