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

⟦da6b1043a⟧ Ada Source

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

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



package body Document is
    File            : Text_Io.File_Type;
    The_Line_Number : Natural := 0;

    function Number_Of_Lines return Natural is
    begin
        return The_Line_Number;
    end Number_Of_Lines;

    procedure Open (Le_Nom : in String) is
    begin
        Text_Io.Open (File, Text_Io.In_File, Le_Nom);
        Text_Io.Set_Input (File);
    exception
        when others =>
            raise Open_Error;
    end Open;

    procedure Close is
    begin
        Text_Io.Close (File);
    exception
        when others =>
            raise Close_Error;
    end Close;


    function Eof return Boolean is
    begin
        return Text_Io.End_Of_File;
    end Eof;

    procedure Get_Line (Str : out String; Last_Char : out Natural) is
    begin
        Text_Io.Get_Line (File, Str, Last_Char);
        The_Line_Number := The_Line_Number + 1;
    end Get_Line;

end Document;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=29 rec1=00 rec2=01 rec3=000
        [0x01] rec0=12 rec1=00 rec2=02 rec3=000
    tail 0x2170bfd48822c64cd0e32 0x42a00088462063c03
Free Block Chain:
  0x2: 0000  00 00 00 21 80 05 20 46 64 66 3b 05 00 00 00 00  ┆   !   Fdf;     ┆