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-7-bit X-Google-Thread: 103376,7c2c2261148a136c X-Google-Attributes: gid103376,public From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Subject: Re: Setting Environment Variables Date: 2000/05/08 Message-ID: #1/1 X-Deja-AN: 620733011 References: <8f6h8h$5ee$1@nnrp1.deja.com> X-Trace: news.decus.org 957806219 15405 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 2000-05-08T00:00:00+00:00 List-Id: In article <8f6h8h$5ee$1@nnrp1.deja.com>, John Lee writes: > How does one set an environment variable in Ada? Is there an Ada system > function or must I interface with the C setenv function? Thanks. On Alpha VMS you would call STARLET.SETENV to change a console environment variable, but most likely that is not what you had in mind. The notion of "environment variables" is tied to the operating system you use, and for VMS the C language construct can be either a logical name or a DCL symbol, as I recall. The bottom line is, for operating system specific discussions you really need to specify your operating system in order to get the answer you want.