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

⟦1711d8970⟧ Ada Source

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

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 File;
with Scanner;

package body Unparse_Report is

    Tab_Space_Number : constant Natural := 4;

    Indentation_Level : Natural := 0;

    function Indent (Level : Natural) return String is

        A_Bs_String : Scanner.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 Open (File_Name : String) is

    begin
        File.Create (File_Name);
    end Open;


    procedure Close is

    begin
        File.Close;
    end Close;


    procedure Write (Line : String) is

    begin
        File.Write (Line);
    end Write;


    procedure New_Line is

    begin  
        File.New_Line;
        File.Write (Indent (Indentation_Level));
    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 Unparse_Report;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=36 rec1=00 rec2=01 rec3=02a
        [0x01] rec0=0b rec1=00 rec2=02 rec3=001
    tail 0x21531569284e6747c7402 0x42a00088462060003