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 - metrics - download
Index: T V

⟦c9c353620⟧ TextFile

    Length: 620 (0x26c)
    Types: TextFile
    Names: »V«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

with Line_Utilities;
with Bounded_String;
package Unit_Stats is

    type Statistics is private;

    function Evaluate (File : String) return Statistics;

    function Total_Lines (Within : Statistics) return Integer;

    function Count (Of_Kind : Line_Utilities.Line_Type; Within : Statistics)
                   return Integer;
    function Percentage_Whitespace (S : Statistics) return Integer;
private

    type Kind_Count is array (Line_Utilities.Line_Type) of Integer;

    type Statistics is
        record
            Total_Lines : Integer;
            Counts : Kind_Count;
        end record;

end Unit_Stats;