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 - downloadIndex: ┃ B T ┃
Length: 1267 (0x4f3) 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 Agents; with Text_Io; package body Test_Ag is package Duration_Io is new Text_Io.Fixed_Io (Duration); package Cycle_Io is new Text_Io.Integer_Io (Natural); procedure Test_Agent is Un_Agent : Agents.Agent; Car : Character; The_Duration : Duration; Nb_Cycles : Natural; begin loop Text_Io.Put_Line ("C : cycle, S : suspendre, A : arreter, R : continuer "); Text_Io.Get (Car); case Car is when 'a' => Un_Agent.Stop; when 's' => Un_Agent.Suspend; when 'r' => Un_Agent.Resume; when 'c' => Text_Io.Put ("entrer la duree du cycle : "); Duration_Io.Get (The_Duration); Text_Io.New_Line; Text_Io.Put ("entrer le nombre de cycles : "); Cycle_Io.Get (Nb_Cycles); Un_Agent.Cycle (The_Duration, Nb_Cycles); when 'e' => exit; when others => null; end case; end loop; abort Un_Agent; end Test_Agent; end Test_Ag;