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

⟦2251710a1⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Agent_Nb, seg_057ebc, seg_058261

Derivation

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

E3 Source Code



package body Agent_Nb is

    function Image (The_Agent_Nb : in T_Agent_Nb) return Natural is
    begin
        return Natural (The_Agent_Nb);
    end Image;

    function Value (The_Natural : in Natural) return T_Agent_Nb is
    begin
        return T_Agent_Nb (The_Natural);
    end Value;


    function Image (The_Agent_Nb : in T_Agent_Nb) return Var_String.V_String is
    begin
        return Var_String.Value (Natural'Image (Natural (The_Agent_Nb)));
    end Image;

    function Value (The_V_String : in Var_String.V_String) return T_Agent_Nb is
    begin
        return T_Agent_Nb (Natural'Value (Var_String.Image (The_V_String)));
    end Value;

    function Is_Equal
                (Left : in T_Agent_Nb; Right : in T_Agent_Nb) return Boolean is
    begin
        if Natural (Left) = Natural (Right) then
            return True;
        else
            return False;
        end if;
    end Is_Equal;
end Agent_Nb;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=23 rec1=00 rec2=01 rec3=000
    tail 0x217645aa287c7840f3ee8 0x42a00088462060003