|
|
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: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Essai, seg_054954
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
package body Essai is
Q1 : My_Queue.Queue;
begin
My_Queue.Initialize (Q1);
if My_Queue.Is_Empty (Q1) then
Text_Io.Put_Line ("Empty");
else
Text_Io.Put_Line (" Not Empty");
end if;
My_Queue.Add (Q1, 1);
My_Queue.Add (Q1, 2);
My_Queue.Add (Q1, 3);
Text_Io.Put_Line (Integer'Image (My_Queue.First (Q1)));
My_Queue.Delete (Q1);
Text_Io.Put_Line (Integer'Image (My_Queue.First (Q1)));
My_Queue.Delete (Q1);
Text_Io.Put_Line (Integer'Image (My_Queue.First (Q1)));
if My_Queue.Is_Empty (Q1) then
Text_Io.Put_Line ("Empty");
else
Text_Io.Put_Line (" Not Empty");
end if;
My_Queue.Make_Empty (Q1);
if My_Queue.Is_Empty (Q1) then
Text_Io.Put_Line ("Empty");
else
Text_Io.Put_Line (" Not Empty");
end if;
end Essai;
-- Empty
-- 1
-- 2
-- 3
-- Not Empty
-- Empty
nblk1=1
nid=0
hdr6=2
[0x00] rec0=26 rec1=00 rec2=01 rec3=000
tail 0x2175da8f287b88792988b 0x42a00088462060003