|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Taches, seg_0587cd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; --with V_Xtasking; package body Taches is I : Integer := 0; task Io is entry Put_Line (S : String); entry Get (C : in out Character); end Io; task body Io is begin loop select accept Put_Line (S : String) do Text_Io.Put_Line (S); end Put_Line; or accept Get (C : in out Character) do Text_Io.Get (C); end Get; end select; end loop; end Io; task Clavier is end Clavier; task Horloge is end Horloge; task Message is end Message; task body Clavier is C : Character := 'W'; begin loop Io.Get (C); Io.Put_Line ("caractere => " & C & " I = " & Integer'Image (I)); -- delay 0.10; end loop; end Clavier; task body Horloge is begin loop --Text_Io.Put_Line ("il est minuit docteur Schweitzer"); delay 1.0; I := I + 1; end loop; end Horloge; task body Message is begin loop Io.Put_Line ("Dodo 2 s !" & " I = " & Integer'Image (I)); delay 2.0; end loop; end Message; procedure Go is begin Text_Io.Put_Line ("C'est parti mon kiki"); end Go; end Taches;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=2e rec1=00 rec2=01 rec3=01e [0x01] rec0=17 rec1=00 rec2=02 rec3=001 tail 0x21765fb0288bb797e8d06 0x42a00088462060003