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,8dea6f46dfb95f66 X-Google-Attributes: gid103376,public From: James Rogers Subject: Re: Environment variables Date: 1996/10/31 Message-ID: <3278C6EE.167E@velveeta.apdev.cs.mci.com>#1/1 X-Deja-AN: 193429279 references: <55819q$mql@newslink.runet.edu> content-type: text/plain; charset=us-ascii organization: MCI Telecommunications Colorado Springs, CO mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0 (X11; I; AIX 2) Date: 1996-10-31T00:00:00+00:00 List-Id: --------------------------------------------------------------------------- -- Test GNAT's ability to query the environment --------------------------------------------------------------------------- with Ada.TExt_IO; use Ada.Text_io; with Ada.Command_Line.Environment; use Ada.Command_Line.Environment; procedure environ is set_count : constant natural := Environment_Count; begin for Item in 1..positive(set_count) loop put_line(Environment_Value(Item)); end loop; end environ; -- Jim Rogers ************************************************************* Team Ada