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

⟦0d384a9ea⟧ TextFile

    Length: 1074 (0x432)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Lex, Error, Debug;
package body Relational_Operator is

    procedure Parse (The_Type : out Binary_Tree.Node_Type;
                     Success : in out Boolean) is
    begin
        case Lex.Get is
            when Lex.Less_Than =>
                The_Type := Binary_Tree.Less_Than_Type;
                Lex.Next;
            when Lex.Greater_Than =>
                The_Type := Binary_Tree.Greater_Than_Type;
                Lex.Next;
            when Lex.Less_Or_Equal =>
                The_Type := Binary_Tree.Less_Or_Equal_Type;
                Lex.Next;
            when Lex.Greater_Or_Equal =>
                The_Type := Binary_Tree.Greater_Or_Equal_Type;
                Lex.Next;
            when Lex.Equal =>
                The_Type := Binary_Tree.Equal_Type;
                Lex.Next;
            when Lex.Not_Equal =>
                The_Type := Binary_Tree.Not_Equal_Type;
                Lex.Next;
            when others =>
                Error.Append (4);
                Success := False;
        end case;
    end Parse;

end Relational_Operator;