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

⟦37fd51fca⟧ TextFile

    Length: 2086 (0x826)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

package body Instancecounter is

    Numobject : Long_Integer := 0;

    Sizeclass : constant Positive := Classname'Length;
    Numclass : Natural := 0;
    Namesclass : array (1 .. 30) of String (1 .. Sizeclass);


    Sizecontext : constant Positive := Contextname'Length;
    Numcontext : Natural := 0;
    Namescontext : array (1 .. 30) of String (1 .. Sizecontext);

    function Newobject return Long_Integer is
    begin
        Numobject := Numobject + 1;
        return Numobject;
    end Newobject;

    function Newclass (Name : Classname) return Positive is
        Ln : Positive := 1;
        Aname : String (1 .. Sizeclass);
    begin
        Numclass := Numclass + 1;
        if Name'Length > Sizeclass then
            Ln := Sizeclass;
        else
            Ln := Name'Length;
        end if;
        Aname (1 .. Ln) := Name (1 .. Ln);
        Ln := Ln + 1;
        while Ln <= Sizeclass loop
            Aname (Ln) := ' ';
            Ln := Ln + 1;
        end loop;
        Namesclass (Numclass) := Aname;
        return Numclass;
    end Newclass;

    function Newcontext (Name : Contextname) return Positive is
        Ln : Positive := 1;
        Aname : String (1 .. Sizecontext);
    begin
        Numcontext := Numcontext + 1;
        if Name'Length > Sizecontext then
            Ln := Sizecontext;
        else
            Ln := Name'Length;
        end if;
        Aname (1 .. Ln) := Name (1 .. Ln);
        Ln := Ln + 1;
        while Ln <= Sizecontext loop
            Aname (Ln) := ' ';
            Ln := Ln + 1;
        end loop;
        Namescontext (Numcontext) := Aname;
        return Numcontext;
    end Newcontext;

    function Contextnumber (Name : Contextname) return Natural is
    begin
        for I in 1 .. Numcontext loop
            if Name = Namescontext (I) then
                return (I);
            end if;
        end loop;
        return (0);
    end Contextnumber;

    function Unknownclassname (Number : Natural) return Classname is
    begin
        return Namesclass (Number);
    end Unknownclassname;

end Instancecounter;