|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1625 (0x659)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
with Text_Io;
package body Tache_Acteur is
package Temps_Io is new Text_Io.Fixed_Io (Ttemps);
task body Role is
begin
loop
select
accept Activer (Acteur : Natural; Valeur : Natural) do
Text_Io.Put_Line ("Acteur " & Natural'Image (Acteur) &
" active a la valeur " &
Natural'Image (Valeur));
end Activer;
or
accept Desactiver (Acteur : Natural) do
Text_Io.Put_Line
("Acteur " & Natural'Image (Acteur) & " Desactive ");
end Desactiver;
or
accept Changer_Valeur (Acteur : Natural; Valeur : Natural) do
Text_Io.Put_Line ("Acteur " & Natural'Image (Acteur) &
" valeur changee a : " &
Natural'Image (Valeur));
end Changer_Valeur;
or
accept Evoluer (Acteur : Natural;
Valeur : Natural;
Temps : Ttemps) do
Text_Io.Put ("Acteur " & Natural'Image (Acteur) &
" a evolue a la valeur " &
Natural'Image (Valeur) & " en ");
Temps_Io.Put (Temps);
Text_Io.Put_Line (" secondes.");
end Evoluer;
or
terminate;
end select;
end loop;
end Role;
end Tache_Acteur;