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,560db337e2dbcd3e X-Google-Attributes: gid103376,public From: Ken Garlington Subject: Re: How to pass commandline parameters to a vax vms ada main prog Date: 1997/01/24 Message-ID: <32E94CAC.4148@lmtas.lmco.com>#1/1 X-Deja-AN: 212081621 references: <32E71F0B.270@dfd.dlr.de> content-type: text/plain; charset=us-ascii organization: Lockheed Martin Tactical Aircraft Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.01 (Win95; U) Date: 1997-01-24T00:00:00+00:00 List-Id: Markus Wolfgart wrote: > > hallo, > > I'm running in a programing problem and can't find a satisfactory > solution, please help if you know the right anwser. > > How to pass comandline parameters to an ada main procedure written > in vax vms 5.1 ada. Do I need to import the starlet lib ? > > thanks for help in advance. > > markus In addition to the Ada advice already posted, don't forget that you will need to define your executable as a foreign command; e.g. for executable TEST.EXE TEST :== $disk:[directory]TEST.EXE The dollar sign at the front is important. Then, you should be able to execute TEST as a verb: $ TEST stuff and read/parse "stuff" successfully. You can also use the DEFINE/VERB command (I think that's right, anyway; I always use the first option presented). -- LMTAS - The Fighter Enterprise - "Our Brand Means Quality" For job listings, other info: http://www.lmtas.com or http://www.lmco.com