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

⟦70faceded⟧ Ada Source

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

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 body Message is

    procedure Free (What : in out Selector) is
    begin
        Keywords.Free (What.Keyw);
    end Free;

    procedure Insert (Element : Scanner.Lexeme; In_List : in out Selector) is
        A_List : Keywords.List;
    begin
        A_List := Keywords.Make (Element, In_List.Keyw);
        In_List.Keyw := A_List;
    end Insert;

    function Nil return Selector is
        A_Selector : Selector;
    begin
        A_Selector.Keyw := Keywords.Nil;
        return A_Selector;
    end Nil;

    function Is_Empty (What : Selector) return Boolean is
    begin
        return Keywords.Is_Empty (What.Keyw);
    end Is_Empty;

    function Arg_Number (What : Selector) return Natural is
    begin
        return Keywords.Length (What.Keyw);
    end Arg_Number;

    function First (What : Selector) return Scanner.Lexeme is
    begin
        return Keywords.First (What.Keyw);
    end First;

    function Rest (What : Selector) return Selector is
        A_Selector : Selector;
    begin
        A_Selector.Keyw := Keywords.Rest (What.Keyw);
        return A_Selector;
    end Rest;

    procedure Init (A_List : in out Selector) is
    begin
        Keywords.Init (A_List.Iter, A_List.Keyw);
    end Init;

    procedure Next (A_List : in out Selector) is
    begin
        Keywords.Next (A_List.Iter);
    end Next;

    function Value (A_List : Selector) return Scanner.Lexeme is
    begin
        return Keywords.Value (A_List.Iter);
    end Value;

    function Done (A_List : Selector) return Boolean is
    begin
        return Keywords.Done (A_List.Iter);
    end Done;

end Message;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=26 rec1=00 rec2=01 rec3=034
        [0x01] rec0=1c rec1=00 rec2=02 rec3=001
    tail 0x21531281484e588fcd649 0x42a00088462060003