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

⟦dc64d7659⟧ Ada Source

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

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 Var_String;
with Com_Chanel;
with Text_Io;
with Host_Id_Io;
procedure Test_Chanel is
    Chanel : Com_Chanel.Object := Com_Chanel.Null_Object;
    S : Var_String.V_String;
begin
    Text_Io.Put_Line ("debut de test");
    Com_Chanel.Set_Chanel
       (O => Chanel, Host => Host_Id_Io.Get, Socket => (0, 234));
    Text_Io.Put_Line ("variable initialiser");

    Text_Io.Put_Line ("affichage de l'image de la variable variable");
    Text_Io.Put_Line (Var_String.Image (Com_Chanel.Image (Chanel)));

    Text_Io.Put_Line ("affichage de l'adresse Ip");
    Host_Id_Io.Put (Com_Chanel.Get_Host_Id (Chanel));
    Text_Io.New_Line;

    Text_Io.Put_Line ("affichage du numero de socket");
    Text_Io.Put_Line
       (Integer'Image (Integer (Com_Chanel.Get_Socket_Id (Chanel) (1)) * 256 +
                       Integer (Com_Chanel.Get_Socket_Id (Chanel) (2))));

    Text_Io.Put_Line ("affichage du texte d'entre");
    S := Com_Chanel.Image (Chanel);
    Text_Io.Put_Line (Var_String.Image (S));

    Text_Io.Put_Line ("interpretation du texte d'entre");
    Chanel := Com_Chanel.Value (S);

    Text_Io.Put_Line ("affichage du numero ip");
    Host_Id_Io.Put (Com_Chanel.Get_Host_Id (Chanel));
    Text_Io.New_Line;

    Text_Io.Put_Line ("affichage du numero de socket");
    Text_Io.Put_Line
       (Integer'Image (Integer (Com_Chanel.Get_Socket_Id (Chanel) (1)) * 256 +
                       Integer (Com_Chanel.Get_Socket_Id (Chanel) (2))));


    Text_Io.Put_Line ("fin du programme");

end Test_Chanel;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=00e
        [0x01] rec0=12 rec1=00 rec2=02 rec3=001
    tail 0x21762dee487c48f327d1b 0x42a00088462060003