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

⟦19f92e121⟧ TextFile

    Length: 2340 (0x924)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

separate (Syntaxe_1)
function Parse_Variable return Boolean is
    Ok : Boolean := True;
begin
    while Token.Object'Pos (Lex.Lex_Get_Token) =
             Token.Object'Pos (Token.L_Id) loop
        if Tds.Create_New_Station (Lex.Lex_Get_Value) then
            Lex.Lex_Next;
            if Token.Object'Pos (Lex.Lex_Get_Token) =
               Token.Object'Pos (Token.L_Deuxpoints) then
                Lex.Lex_Next;
                if Token.Object'Pos (Lex.Lex_Get_Token) =
                   Token.Object'Pos (Token.L_Id) then
                    if Tds.Set_Station_Type (Lex.Lex_Get_Value) then
                        Lex.Lex_Next;
                        if Token.Object'Pos (Lex.Lex_Get_Token) =
                           Token.Object'Pos (Token.L_Station) then
                            Lex.Lex_Next;
                            if Token.Object'Pos (Lex.Lex_Get_Token) =
                               Token.Object'Pos (Token.L_Int) then
                                if Tds.Set_Station_Number
                                      (Natural'Value
                                          (Lex.Lex_Get_Value.all)) then
                                    Lex.Lex_Next;
                                    Ok := Ok and True;
                                else
                                    Ok :=
                                       False;  -- Erreur : Numero station errone
                                end if;
                            else
                                Ok :=
                                   False;     -- Erreur : Numero station oubliee
                            end if;
                        else
                            Ok := False;        -- Erreur : Terme STATION oublie
                        end if;
                    else
                        Ok :=
                           False;           -- Erreur : Type station inexistant
                    end if;
                else
                    Ok := False;              -- Erreur : Identif. oublie
                end if;
            else
                Ok := False;                 -- Erreur : Deuxpoints oublies
            end if;
        else
            Ok :=
               False;                    -- Erreur : Identif. station mal choisi
        end if;
    end loop;
    return Ok;
end Parse_Variable;