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

⟦ec89a1aa1⟧ TextFile

    Length: 1976 (0x7b8)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Lex, Error, Symbol, Debug;
with Adress;

package body Theater_Description is
    procedure Parse (Success : in out Boolean) is  
        Ok : Boolean := True;
        The_Value : Natural;
    begin
        Success := True;
        if Lex.Current_Token_Is (Lex.Identifier) then
            declare
                Theatre_Name : constant String := Lex.Image;
            begin
                Debug.Put (101);
                Lex.Next;
                if Lex.Current_Token_Is (Lex.Est) then
                    Debug.Put (102);
                    Lex.Next;
                    if Lex.Current_Token_Is (Lex.Identifier) then
                        declare
                            Material_Name : constant String := Lex.Image;
                        begin
                            Debug.Put (103);
                            Lex.Next;
                            if Lex.Current_Token_Is (Lex.En) then
                                Debug.Put (104);
                                Lex.Next;
                                Adress.Parse (The_Value, Ok);
                                Symbol.Add_Theatre (Theatre_Name,
                                                    Material_Name, The_Value);
                                if Lex.Current_Token_Is (Lex.Identifier) then
                                    Parse (Ok);
                                    Success := Success and Ok;
                                end if;
                            else
                                Error.Append (41);  
                                Success := False;
                            end if;
                        end;
                    else
                        Error.Append (42);
                        Success := False;
                    end if;
                else
                    Error.Append (43);
                    Success := False;
                end if;
            end;
        end if;

    end Parse;

end Theater_Description;