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

⟦c2a96a299⟧ Ada Source

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

Derivation

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

E3 Source Code



with Our_Value, Our_String, Erreur, Un_Nombre, Un_Id_Compose;
use Our_Value;

package body Un_Facteur is

    procedure Parse (Value : in out Our_Value.Var_Value) is
        Val_Str : Our_String.Variable_String;
    begin
        case Lex.Get_Token is
            when Left_Bracket =>
                Lex.Next;
                Un_Nombre.Parse (Value);
                if Lex.Get_Token = Right_Bracket then
                    Lex.Next;
                else
                    Erreur.Parse ("il manque une ')'");
                end if;


            when Number =>
                Set_Value (Value, Our_String.Value ((Lex.Get_Value)));
                Lex.Next;

            when others =>
                Un_Id_Compose.Parse (Val_Str);
                Set_Value (Value, Val_Str);

                if (Get_Type (Value) /= Type_Boolean) then
                    Set_Value (Value, 0);
                    Erreur.Parse ("il manque un facteur");
                end if;

        end case;
    end Parse;

end Un_Facteur;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=016
        [0x01] rec0=07 rec1=00 rec2=02 rec3=001
    tail 0x21544f51286577800d702 0x42a00088462060003