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

⟦bb9eb4422⟧ Ada Source

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

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 Var_String;
with Trame_Publication;

procedure Test_Trame is  
    T : Trame_Publication.Object;
    Tb : Trame_Publication.Object;
    V : Var_String.V_String;

begin
    Text_Io.Put_Line ("debut test trame ");
    T := Trame_Publication.Create
            (Methode => Var_String.Value ("mthode1"),
             Parameter => Var_String.Value ("les parametres sont : 1 1 1 3 "));

    Text_Io.Put_Line ("affichage image");

    Text_Io.Put_Line (Var_String.Image (Trame_Publication.Image (T)));
    V := Trame_Publication.Image (T);

    Text_Io.Put_Line ("lecture du message");
    Tb := Trame_Publication.Value (V);
    Text_Io.Put_Line ("fin lecture du message");

    Text_Io.Put_Line ("affichage image");
    Text_Io.Put_Line (Var_String.Image (Trame_Publication.Image (Tb)));

    Text_Io.Put_Line ("methode :" & Var_String.Image
                                       (Trame_Publication.Get_Methode (Tb)));
    Text_Io.Put_Line ("parametre :" &
                      Var_String.Image (Trame_Publication.Get_Parameter (Tb)));

    Text_Io.Put_Line ("fin test trame ");
end Test_Trame;

E3 Meta Data

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