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

⟦d87e9d6c9⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Modifier_Description, seg_044f45, seg_045273, seg_0452b8, seg_048428

Derivation

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

E3 Source Code



with Lex;
with Traduction_Scenario;

package body Modifier_Description is

    procedure Cas_D_Une_Communication_Text (Ok : in out Boolean) is
        use Lex;
    begin
        Lex.Next;
        if (Lex.Get_Token = L_Sens1 or Lex.Get_Token = L_Sens2) then
            Traduction_Scenario.Add_Function_Parameter
               (P => Lex.Get_Value, Is_Text => False);
            Lex.Next;
        end if;
        if Lex.Get_Token = L_Text then
            Traduction_Scenario.Add_Function_Parameter
               (P => Lex.Get_Value, Is_Text => True);
            Lex.Next;
            Ok := True;
        else
            Ok := False;
        end if;

    end Cas_D_Une_Communication_Text;


    procedure Parse (Ok : in out Boolean) is
        use Lex;

    begin  
        case Lex.Get_Token is

            when L_Id | L_Communication =>
                Traduction_Scenario.Add_Function_Parameter
                   (P => Lex.Get_Value, Is_Text => False);
                Cas_D_Une_Communication_Text (Ok);
            when L_Personnage | L_Joueur | L_Objet | L_Lieu =>
                Traduction_Scenario.Add_Function_Parameter
                   (P => Lex.Get_Value, Is_Text => False);
                if Lex.Next_Token = L_Text then
                    Traduction_Scenario.Add_Function_Parameter
                       (P => Lex.Get_Value, Is_Text => True);
                    Lex.Next;
                    Ok := True;
                end if;

            when others =>
                Ok := False;

        end case;
    end Parse;
end Modifier_Description;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=058
        [0x01] rec0=12 rec1=00 rec2=03 rec3=000
        [0x02] rec0=05 rec1=00 rec2=03 rec3=000
        [0x03] rec0=12 rec1=00 rec2=03 rec3=000
    tail 0x217464b78864933994f38 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 04 03 fc 00 00 00 00 00 00 00 24 20 20 20 20  ┆           $    ┆
  0x4: 0000  00 00 00 04 80 01 3b 01 02 03 04 05 06 07 08 09  ┆      ;         ┆