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

⟦9cc8b0111⟧ Ada Source

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

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 Source is

    Currentchar : Character;
    Lookahead : Boolean;



    procedure Init is
    begin
        Lookahead := False;

    end Init;


    function Value return Character is
    begin
        return Currentchar;
    end Value;


    procedure Unget is
    begin
        Lookahead := True;
    end Unget;


    function Atend (Handle : in T_File) return Boolean is
    begin

        return (Text_Io.End_Of_File (Handle));






    end Atend;


    procedure Next (Handle : in T_File) is
    begin  
        if (Lookahead = False) then
            if Text_Io.End_Of_File (Handle) then
                Currentchar := Eof;
            elsif Text_Io.End_Of_Line (Handle) then
                Text_Io.Skip_Line (Handle);
                Currentchar := Ascii.Cr;
            else
                Text_Io.Get (Handle, Currentchar);
            end if;
        else
            Lookahead := False;
        end if;
    end Next;


    function Get (Handle : in T_File) return Character is
    begin

        Next (Handle);
        return (Value);



    end Get;


end Source;












E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=35 rec1=00 rec2=01 rec3=03c
        [0x01] rec0=1d rec1=00 rec2=02 rec3=001
    tail 0x21535889085f56de3fb98 0x42a00088462060003