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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8466382b0b7e19ff X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Problems with String processing Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <8igu5kF70sU1@mid.individual.net> Date: Sat, 23 Oct 2010 22:25:38 +0200 Message-ID: NNTP-Posting-Date: 23 Oct 2010 22:25:36 CEST NNTP-Posting-Host: 120f7fb4.newsspool4.arcor-online.net X-Trace: DXC=XD7@E[ On 23 Oct 2010 20:16:53 GMT, George wrote: > begin > -- Ada.Command_Line.Argument_Count is "0" if > -- a) Command_Line.Argument_Count is not implemented (Compiler, OS) > -- b) no arguments given > if Ada.Command_Line.Argument_Count > 0 then > for counter in 1..Ada.Command_Line.Argument_Count loop declare Arg : constant String := Ada.Characters.Handling. To_Upper (Ada.Command_Line.Argument (Counter)); begin > if Arg = "ADA83" then > Ada83; > elsif Arg = "ADA95" then > Ada95; > elsif Arg = "ADA2005" then > Ada2005; > elsif Arg = "ATTRIBUTES" then > Attributes; > elsif Arg = "ALL" then > Ada83; > Ada95; > Ada2005; > Attributes; > Sources; > Author; > else -- unknown argument > Ada.Text_IO.put_line("Given Argument is unknown!"); > end if; end; > end loop; -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de