|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Mon_Client, seg_0573c0
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with My_Corp_Programme2;
with My_Corp_Programme3;
with Bounded_String;
with Affichage;
with Operations;
use Affichage, Operations, My_Corp_Programme2;
procedure Mon_Client is
Req1, Req2, Req3 : Positive;
Req4, Req5, Req6 : Positive;
Done : Boolean := False;
begin
--My_Corp_Programme2.Demande ("Donne_Phil()", Req1);
--Demande des infos sur Phil (1 seul parametre en retour,
-- pas de parametre d'entree)
--delay 5.0;
--My_Corp_Programme2.Demande ("Donne_Lionel()", Req2);
--Demande des infos sur Lionel (1 seul parametre en retour,
-- pas de parametre d'entree)
--delay 15.0;
--My_Corp_Programme2.Demande ("Donne_Auteurs($2$)", Req3);
--Demande des infos sur l'auteur 2 (choix: 1 ou 2)
--delay 15.0;
My_Corp_Programme3.Demande ("Date($all$)", Req5);
--Demande la date: le parametre 'all' indique qu'on veut jour/mois/annee
delay 15.0;
--My_Corp_Programme3.Demande ("Date($year$)", Req4);
--Demande la date: le parametre 'year' indique qu'on veut juste l'annee
--delay 5.0;
while not Done loop
if not Egal (Bounded_String.Value
(My_Corp_Programme2.Reponse (Req1, 1)),
Bounded_String.Value ("Erreur")) then
P ("Reponse: ");
Pl (My_Corp_Programme2.Reponse (Req1, 1));
Efface (Req1);
end if;
if not Egal (Bounded_String.Value
(My_Corp_Programme2.Reponse (Req2, 1)),
Bounded_String.Value ("Erreur")) then
P ("Reponse: ");
Pl (My_Corp_Programme2.Reponse (Req2, 1));
Efface (Req2);
end if;
if not Egal (Bounded_String.Value
(My_Corp_Programme2.Reponse (Req3, 1)),
Bounded_String.Value ("Erreur")) then
P ("Reponse: ");
Pl (My_Corp_Programme2.Reponse (Req3, 1));
Efface (Req3);
end if;
if not Egal (Bounded_String.Value
(My_Corp_Programme3.Reponse (Req4, 1)),
Bounded_String.Value ("Erreur")) then
P ("Reponse: ");
Pl (My_Corp_Programme3.Reponse (Req4, 1));
Efface (Req4);
end if;
if not Egal (Bounded_String.Value
(My_Corp_Programme3.Reponse (Req5, 1)),
Bounded_String.Value ("Erreur")) then
P ("Reponse: ");
Pl ("Jour:" & My_Corp_Programme3.Reponse (Req5, 1) &
" Mois:" & My_Corp_Programme3.Reponse (Req5, 2) &
" Annee:" & My_Corp_Programme3.Reponse (Req5, 3));
Efface (Req5);
Done := True;
end if;
end loop;
end Mon_Client;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=1c rec1=00 rec2=01 rec3=01c
[0x01] rec0=0e rec1=00 rec2=04 rec3=014
[0x02] rec0=1b rec1=00 rec2=02 rec3=046
[0x03] rec0=0d rec1=00 rec2=03 rec3=000
tail 0x2176428f487c74c8b8050 0x42a00088462060003