|
|
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: 533 (0x215)
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, Stack_Generic;
procedure Test is
package Pile_Entier is new Stack_Generic (5, Integer);
I : Integer;
Pile : Pile_Entier.Object (3);
begin
while (I /= -1) loop
if I = 1 then
begin
Text_Io.Get (I);
Pile.Push (Integer'I);
end;
end if;
if I = 2 then
begin
Text_Io.Get (I);
Pile.Pop (I);
Text_Io.Put_Lin (I);
end;
end if;
end loop;
end Test;