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

⟦0d593d2d2⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Error, seg_049413, seg_04944b

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 Text_Io;  
with Nos_Chaines;

package body Error is  
    Scenario_Build : Boolean := True;

    function Scenario_Is_Not_Build return Boolean is
    begin
        return not Scenario_Build;

    end Scenario_Is_Not_Build;
    procedure Print (Mess : Message) is
        Numero : Positive;
    begin
        Scenario_Build := False;
        Numero := Lex.Get_Line;
        Text_Io.Put ("Erreur ligne ");
        Text_Io.Put (Positive'Image (Numero));
        Text_Io.Put (M (Mess).all);
        Text_Io.Put (" :  ' ");
        Nos_Chaines.Print (Lex.Get_Value);
        Text_Io.Put_Line ("'");
    end Print;

    procedure Semantic (Mess : Message_Semantique) is
    begin
        Scenario_Build := False;
        Text_Io.Put ("Erreur ligne ");
        Text_Io.Put (Positive'Image (Lex.Get_Line) & "  ");
        Text_Io.Put (M_Semantique (Mess).all);
        Nos_Chaines.Print (Lex.Get_Value);
        Text_Io.Put_Line ("'");
    end Semantic;

    procedure Semantic (Nom_Variable : Nos_Chaines.String_Text;
                        Mess : Message_Semantique) is
    begin
        Scenario_Build := False;
        Text_Io.Put ("Erreur ligne ");
        Text_Io.Put (Positive'Image (Lex.Get_Line));
        Text_Io.Put (" : la variable ' ");
        Nos_Chaines.Print (Nom_Variable);
        Text_Io.Put ("' " & M_Semantique (Mess).all);
    end Semantic;

end Error;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=00a
        [0x01] rec0=0e rec1=00 rec2=02 rec3=000
        [0x02] rec0=15 rec1=00 rec2=04 rec3=000
        [0x03] rec0=13 rec1=00 rec2=03 rec3=000
    tail 0x2174dad9c865b8c05d24b 0x42a00088462060003
Free Block Chain:
  0x4: 0000  00 03 03 fc 80 24 20 20 20 20 20 20 20 20 20 20  ┆     $          ┆
  0x3: 0000  00 00 00 92 80 39 20 20 54 65 78 74 5f 49 6f 2e  ┆     9  Text_Io.┆