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

⟦61be6c104⟧ Ada Source

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

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package body Text_Supprt is

    procedure Reject_Null_File (File : File_Type) is
    begin
        if To_Fptr (File) = null then
            raise Status_Error;
        end if;
    end Reject_Null_File;
    --pragma inline(reject_null_file);

    procedure Must_Be_Input (File : File_Type) is
        F : File_Ptr := To_Fptr (File);
    begin
        if F = null then
            raise Status_Error;
        elsif F.Mode /= Input then
            raise Mode_Error;
        end if;
    end Must_Be_Input;
    --pragma inline(must_be_input);

    procedure Must_Be_Output (File : File_Type) is
        F : File_Ptr := To_Fptr (File);
    begin
        if F = null then
            raise Status_Error;
        elsif F.Mode /= Output then
            raise Mode_Error;
        end if;
    end Must_Be_Output;
    --pragma inline(must_be_output);

    -- Upon entry/exit: file is unlocked
    procedure Skip_Blanks_And_Lines (Fp : File_Ptr) is
        C : Character;
    begin
        loop
            if Tstfile (Fp) /= At_Char then
                Skip_Past_Eol (Fp);
            else
                C := Getchar (Fp);
                if C /= ' ' and then C /= Ascii.Ht and then C /= Ascii.Vt then
                    return;
                end if;
            end if;
        end loop;
    end Skip_Blanks_And_Lines;
end Text_Supprt;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=0e rec1=00 rec2=02 rec3=000
    tail 0x21758030c878e796fda12 0x42a00088462060003