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

⟦2d3e6767d⟧ Ada Source

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

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 Text_Io;

package body Fichier_Io is


    function At_End (Fichier_Source : in Text_Io.File_Type) return Boolean is
    begin
        if Look_Ahead then
            return False;
        else
            return Text_Io.End_Of_File (Fichier_Source);
        end if;

    end At_End;


    function Get (Fichier_Source : in Text_Io.File_Type) return Character is
    begin  
        if Look_Ahead then
            Look_Ahead := False;

        else
            if At_End (Fichier_Source) then
                Current_Char := Ascii.Eot;
            else
                if Text_Io.End_Of_Line (Fichier_Source) then
                    Text_Io.Skip_Line (Fichier_Source);
                    Current_Char := Ascii.Cr;


                else
                    Text_Io.Get (Fichier_Source, Current_Char);

                end if;
            end if;
        end if;
        return Current_Char;
    end Get;

    function Value (Fichier_Source : in Text_Io.File_Type) return Character is
    begin
        return Current_Char;
    end Value;


    procedure Close (Fichier_Source : in out Text_Io.File_Type) is
    begin
        Text_Io.Close (Fichier_Source);
    end Close;

    procedure Next (Fichier_Source : in Text_Io.File_Type) is
    begin
        if (Look_Ahead) then
            Look_Ahead := False;
        else
            Text_Io.Get (Fichier_Source, Current_Char);
        end if;
    end Next;

    procedure Open (Fichier_Source : in out Text_Io.File_Type;
                    Name : in String) is
    begin
        Text_Io.Open (Fichier_Source, Text_Io.In_File, Name);
        Look_Ahead := False;
    end Open;


    procedure Unget (Fichier_Source : in Text_Io.File_Type) is
    begin
        Look_Ahead := True;
    end Unget;



end Fichier_Io;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=29 rec1=00 rec2=01 rec3=032
        [0x01] rec0=25 rec1=00 rec2=02 rec3=001
    tail 0x2152a1e9684be7ec1967e 0x42a00088462060003