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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,31ce6e75e49802e0 X-Google-Attributes: gid103376,public From: franke@minet.uni-jena.de (Frank Ecke) Subject: Re: argv and argc access? Date: 1998/09/28 Message-ID: #1/1 X-Deja-AN: 395610943 Content-Transfer-Encoding: 8bit References: Content-Type: text/plain; charset=iso-8859-1 Organization: Department of Computer Science, FSU Jena, Germany Mime-Version: 1.0 Reply-To: franke@minet.uni-jena.de Newsgroups: comp.lang.ada Date: 1998-09-28T00:00:00+00:00 List-Id: On Mon, 28 Sep 1998, J�rgen �hman wrote: >I�m writing an opengl application using ada at my work. The application >needs to use full screen mode (not >just a maximized window). The glut library provides a full screen mode >but to initialize glut i need to pass >the unmodified argv and argc c-parameters to the glutInit procedure. >But how can i access these in ada? The package Ada.Command_Line provides an interface to the command line. In this package, ``Argument_Count, Argument, and Command_Name correspond to the C language's argc, argv[N] (for N > 0), and argv[0], respectively.'' (A.15(22)) Hope this helps! Frank -- Frank Ecke In a world without walls and fences, who needs windows and gates?