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

⟦b9a4bbe80⟧ Ada Source

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

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



with Bounded_String;
with Text_Io;

package body Log_Report is

    Tab_Space_Number : constant Natural := 3;

    Indentation_Level : Natural := 0;

    Line_Size : constant Natural := 132;


    subtype B_String is Bounded_String.Variable_String (Line_Size);


    function Indent (Level : Natural) return String is  
        A_Bs_String : B_String;
    begin
        Bounded_String.Free (A_Bs_String);
        Bounded_String.Set_Length (A_Bs_String, Level * Tab_Space_Number);
        return Bounded_String.Image (A_Bs_String);
    end Indent;


    procedure Write_Line (Line : String) is
    begin
        Text_Io.Put (Indent (Indentation_Level));
        Text_Io.Put_Line (Line);
    end Write_Line;


    procedure New_Line is
    begin  
        Text_Io.New_Line;
    end New_Line;


    procedure Tab is
    begin
        Indentation_Level := Indentation_Level + 1;
    end Tab;


    procedure Untab is
    begin       Indentation_Level := Indentation_Level - 1;
    end Untab;

end Log_Report;





E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2f rec1=00 rec2=01 rec3=002
        [0x01] rec0=08 rec1=00 rec2=02 rec3=001
    tail 0x215334c00850a376cf96e 0x42a00088462060003