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

⟦b3e2b2590⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Msg_Report, seg_0351ee

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 Scanner, Text_Io;

package body Msg_Report is

    Tracing : Boolean := False;

    procedure Lexical_Error (Message : String; More_Info : Boolean := True) is  
    begin
        Text_Io.Put (">> LEXICAL ERROR, ");  
        if More_Info then
            Text_Io.Put ("line ");  
            Text_Io.Put (Integer'Image (Scanner.Line_Number));  
        end if;
        Text_Io.Put (" " & Message & " ");
        if More_Info then
            Text_Io.Put (Scanner.Value);
        end if;
        Text_Io.New_Line;
    end Lexical_Error;

    procedure Syntax_Error (Message : String; More_Info : Boolean := True) is  
        use Scanner;
    begin  
        if Scanner.Symbol /= L_Unknown then
            Text_Io.Put (">> SYNTAX ERROR, ");  
            if More_Info then
                Text_Io.Put ("line ");
                Text_Io.Put (Integer'Image (Scanner.Line_Number));  
            end if;
            Text_Io.Put (" " & Message & " ");           if More_Info then
                Text_Io.Put (Scanner.Value);
            end if;
            Text_Io.New_Line;  
        end if;
    end Syntax_Error;

    procedure Interpret_Error (Message : String) is
    begin
        Text_Io.Put (">> INTERPRET ERROR, ");  
        Text_Io.Put (Message);  
        Text_Io.New_Line;
    end Interpret_Error;

    procedure Information (Message : String) is  
    begin  
        if Tracing then  
            Text_Io.Put ("## INFORMATION MESSAGE, ");  
            Text_Io.Put (Message);  
            Text_Io.New_Line;
        end if;
    end Information;

    procedure Continue (Message : String) is  
    begin  
        if Tracing then
            Text_Io.Put ("   ");  
            Text_Io.Put (Message);  
            Text_Io.New_Line;  
        end if;
    end Continue;

    procedure Tracing_On is  
    begin
        Tracing := True;
    end Tracing_On;

    procedure Tracing_Off is  
    begin
        Tracing := False;
    end Tracing_Off;

end Msg_Report;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=6
        [0x00] rec0=20 rec1=00 rec2=01 rec3=002
        [0x01] rec0=25 rec1=00 rec2=03 rec3=034
        [0x02] rec0=06 rec1=00 rec2=02 rec3=000
        [0x03] rec0=02 rec1=b9 rec2=25 rec3=442
    tail 0x2152df33c84d84f4d0b82 0x42a00088462060003
Free Block Chain:
  0x4: 0000  00 00 00 46 80 14 20 20 20 54 72 61 63 69 6e 67  ┆   F     Tracing┆