DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦b45becbdc⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Common_Env, seg_0052bf

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



package Common_Env is
------------------------------------------------------------------------------
-- X Library Environment Variables - Common functions
--
-- Common_Env - Common functions used by all environment variable functions.
------------------------------------------------------------------------------
-- Copyright 1990 - 1991 by Rational, Santa Clara, California.
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the names of Rational not be used in
-- advertising or publicity pertaining to distribution of the software without
-- specific, written prior permission.
--
-- Rational disclaims all warranties with regard to this software, including
-- all implied warranties of merchantability and fitness, in no event shall
-- Rational be liable for any special, indirect or consequential damages or
-- any damages whatsoever resulting from loss of use, data or profits, whether
-- in an action of contract, negligence or other tortious action, arising out
-- of or in connection with the use or performance of this software.
------------------------------------------------------------------------------

    function Env_Directory return String;
------------------------------------------------------------------------------
-- Called to obtain the name of the directory that contains R1000 "environment"
-- variables.  One variable per file.  Name of the file is the name of the
-- variable.  Case-insensitive.
------------------------------------------------------------------------------

    function Env_File (Var : String) return String;
------------------------------------------------------------------------------
--  Var - Specifies the name of the environment variable.
--
-- Called to obtain the name of the file that contains a particular R1000
-- "environment" variable.  Name of the file is the name of the variable.
-- Case-insensitive.
------------------------------------------------------------------------------

    procedure Set_Env (Var   : String;  
                       Value : String);
------------------------------------------------------------------------------
--  Var     - Specifies the name of the R1000 "environment" variable to set
--  Value   - Specifies the value for the variable
--
-- Called to set the definition of an R1000 "environment" variable.
------------------------------------------------------------------------------

    function Get_Env (Var : String) return String;
------------------------------------------------------------------------------
--  Var - Specifies the name of the R1000 "environment" variable to fetch
--
-- Called to obtain the definition of an R1000 "environment" variable.
-- Returns "" if the variable is not defined.
------------------------------------------------------------------------------

    procedure Unset_Env (Var : String);
------------------------------------------------------------------------------
--  Var     - Specifies the name of the R1000 "environment" variable to unset
--
-- Called to unset (delete) the definition of an R1000 "environment" variable.
------------------------------------------------------------------------------

    function Is_Set (Var : String) return Boolean;
------------------------------------------------------------------------------
--  Var - Specifies the name of the R1000 "environment" variable to fetch
--
-- Called to see if an R1000 "environment" variable has been set.
------------------------------------------------------------------------------

end Common_Env;  

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=14 rec1=00 rec2=01 rec3=08c
        [0x01] rec0=10 rec1=00 rec2=02 rec3=09c
        [0x02] rec0=15 rec1=00 rec2=03 rec3=02c
        [0x03] rec0=13 rec1=00 rec2=04 rec3=000
    tail 0x215009782819786b5a8f0 0x42a00088462063203