DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦e7b6026f2⟧ TextFile

    Length: 1340 (0x53c)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Message;
with Method;
with Parameter;
with Signature;
with Text_Io;

use Text_Io;
package body Message_Test is
    procedure Start is
        P1 : Parameter.Object;
        P2 : Parameter.Object;
        S : Signature.Object;
        M : Method.Object;

        Mes : Message.Object;
    begin
        Parameter.Create (P1,
                          Name => "message",
                          Class => "string",
                          Value => "hello world");
        Parameter.Create (P2,
                          Name => "message",
                          Class => Parameter.Void,
                          Value => Parameter.Void);

        Signature.Create (S);  
        Signature.Add (To_Signature => S,
                       The_Parameter => P1,
                       At_Position => 1);
        Signature.Add (To_Signature => S,
                       The_Parameter => P2,
                       At_Position => 2);

        Method.Create (M, Name => "Send", Signature => S);

        Message.Create (Mes,
                        Class => Message.Request,
                        Addressee => 0,
                        Sender => 123,
                        Method => M);

        Put_Line (Message.Image (Mes));

        Put_Line (Message.Image (Message.Value (Message.Image (Mes))));
    end Start;
end Message_Test;