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,92cec45e19730aa6 X-Google-Attributes: gid103376,public From: Calius Subject: Re: Help -- Command line arguments Date: 1996/09/21 Message-ID: #1/1 X-Deja-AN: 184942190 references: content-type: text/plain; charset=us-ascii organization: CPU Gods mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win16; I) Date: 1996-09-21T00:00:00+00:00 List-Id: Reposting article removed by rogue canceller. Stephen M O'Shaughnessy wrote: > > Is there a way in Ada to pass commands from the command line > when a process is started? Actually, on my specific implementation (Verdix SELF on AIX), there is. There's a demo program supplied with the compiler to do that, but basically what it does is declare ArgV and ArgC as PRAGMA INTERFACE variables, and the startup module (which is written in C and linked to the application) actually declares and allocates them, and initiailzed them. The way the are used is like in C, ofcourse. If you're not using SELF, check your example directory. Best of luck, Calius