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

⟦770bba5d2⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Message, seg_035ebd, seg_035ee1, seg_038ac9

Derivation

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

E3 Source Code



with Bounded_String, String_Utilities;
package body Message is


    function Void_Selector return Selector is
        A_Multiple_Selector : Selector;
    begin
        Bounded_String.Free (A_Multiple_Selector);
        return A_Multiple_Selector;
    end Void_Selector;


    function Is_Keyword (Multiple_Selector : Selector) return Boolean is  
    begin
        return (String_Utilities.Locate (':', Image (Multiple_Selector)) /= 0);
    end Is_Keyword;


    function Format (Multiple_Selector : Selector) return String is
        Pos : Natural;
        A_Selector : Selector;
    begin  
        A_Selector := Multiple_Selector;

        loop
            Pos := String_Utilities.Locate (':', Image (A_Selector));
            if Pos = 0 then
                exit;  
            else
                Bounded_String.Delete (A_Selector, Pos);
            end if;  
        end loop;  
        return Image (A_Selector);
    end Format;


    procedure Extract_Keyword (Multiple_Selector : in out Selector;
                               A_Selector : in out Selector) is

        End_Pos : Natural;
    begin  
        End_Pos := String_Utilities.Locate (':', Image (Multiple_Selector));
        A_Selector := Void_Selector;
        Copy (A_Selector, Bounded_String.Extract
                             (Multiple_Selector, 1, End_Pos - 1));  
        Bounded_String.Delete (Multiple_Selector, 1, End_Pos);
    end Extract_Keyword;
end Message;




E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=26 rec1=00 rec2=01 rec3=004
        [0x01] rec0=0f rec1=00 rec2=02 rec3=001
    tail 0x2152f573284dd6686b6a1 0x42a00088462060003