DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦e2101317a⟧ TextFile

    Length: 1206 (0x4b6)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦afbc8121e⟧ Bits:30000532 8mm tape, Rational 1000, MC68020_OS2000 7_2_2
    └─ ⟦77aa8350c⟧ »DATA« 
        └─⟦f794ecd1d⟧ 
            └─⟦4c85d69e2⟧ 
                └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦9b477e385⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦9b477e385⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦9b477e385⟧ 
            └─⟦this⟧ 

TextFile

with String_Utilities;
procedure Enumeration_Value (S      :     String;
                             Result : out Enumeration;
                             Prefix : out Boolean;
                             Unique : out Boolean) is
    Already_Matched : Boolean         := False;
    Exact           : Boolean;
    Match           : Boolean;
    Up_S            : constant String := String_Utilities.Upper_Case (S);
begin
    Prefix := False;
    Unique := False;
    Result := Enumeration'Last;
    for Enum in Enumeration loop
        declare
            Enum_Image : constant String := Enumeration'Image (Enum);
        begin
            Match := Up_S'Length <= Enum_Image'Length and then
                        Up_S = Enum_Image (1 .. Up_S'Length);
            Exact := Match and then (Up_S'Length = Enum_Image'Length);
        end;
        if Exact then
            Result := Enum;
            Unique := True;
            Prefix := False;
            return;
        elsif Match then
            Unique          := not Already_Matched;
            Already_Matched := True;
            Prefix          := True;
            Result          := Enum;
        end if;
    end loop;
end Enumeration_Value;