DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦5131a7975⟧ TextFile

    Length: 1292 (0x50c)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;

    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;