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

⟦8e0e7d8ae⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Parametre_Defs, seg_05466f

Derivation

└─⟦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 Parametre;
with B_Constant;
with Bounded_String;
package body Parametre_Defs is

    procedure Init (O : in out Message_Number) is
    begin
        O := "  1";
    end Init;


    procedure Increment (O : in out Message_Number) is
        N : Integer range B_Constant.Number_Message_Min ..
                             B_Constant.Number_Message_Max;
        String_Tempo : Parametre.Variable_String;
    begin
        N := Integer'Value (String (O));
        N := N + 1;
        if N = B_Constant.Number_Message_Max then
            N := B_Constant.Number_Message_Min;
        end if;
        Bounded_String.Copy (String_Tempo, "   ");
        Bounded_String.Replace (String_Tempo, 1, Integer'Image (N));
        O := Message_Number (Bounded_String.Image (String_Tempo));
    end Increment;

end Parametre_Defs;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1d rec1=00 rec2=01 rec3=001
    tail 0x2175d7a9087b8841be9a5 0x42a00088462060003