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

⟦2fb6f1937⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Message, seg_057345

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 Text_Io;
with Message;
with Agent_Nb;
with Var_String;

procedure Test_Message is
    M : Message.Object;
    Mb : Message.Object;
    V : Var_String.V_String;
begin
    Text_Io.Put_Line ("debut test message");
    M := Message.Create (Class => Message.Request,
                         Source => Agent_Nb.Value (Var_String.Value ("120")),
                         Destination => Agent_Nb.Value
                                           (Var_String.Value ("145")),
                         Donnees => Var_String.Value ("toto"));

    Text_Io.Put_Line ("affichage image");
    Text_Io.Put_Line (Var_String.Image (Message.Image (M)));

    V := Message.Image (M);
    Text_Io.Put_Line ("lecture du message");
    Mb := Message.Value (V);
    Text_Io.Put_Line ("fin lecture du message");

    Text_Io.Put_Line ("affichage image");
    Text_Io.Put_Line (Var_String.Image (Message.Image (Mb)));

    Text_Io.Put_Line ("fin test message");
end Test_Message;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=020
        [0x01] rec0=02 rec1=00 rec2=02 rec3=001
    tail 0x21764099687c68b748c26 0x42a00088462060003