|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Error_List, seg_025b12
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Events;
with Local_Frames;
package body Error_List is
List_Lf : constant Local_Frames.Local_Frame := Lf;
List_Path : constant String := Widget_Path;
Max_Items : constant Integer := 10;
Number_Of_Items : Integer := 0;
procedure Check_Number_Of_Items is
begin
if Number_Of_Items > Max_Items then
for I in 1 .. (Number_Of_Items - Max_Items) loop
Events.Action (Lf => List_Lf,
Fctn => "ListDelItemPos",
Field => List_Path,
Value => "1");
Number_Of_Items := Number_Of_Items - 1;
end loop;
end if;
end Check_Number_Of_Items;
procedure Init is
begin
Events.Action (Lf => List_Lf,
Fctn => "ListDelAllItems",
Field => List_Path,
Value => "");
Number_Of_Items := 0;
end Init;
procedure Put (Line_Text : String) is
begin
Events.Action (Lf => List_Lf,
Fctn => "ListAddItem",
Field => List_Path,
Value => Line_Text);
Events.Action (Lf => List_Lf,
Fctn => "ListSetItem",
Field => List_Path,
Value => Line_Text);
Number_Of_Items := Number_Of_Items + 2;
end Put;
procedure Put_Line (Line_Text : String) is
begin
Events.Action (Lf => List_Lf,
Fctn => "ListAddItem",
Field => List_Path,
Value => Line_Text);
Events.Action (Lf => List_Lf,
Fctn => "ListAddItem",
Field => List_Path,
Value => "");
Number_Of_Items := Number_Of_Items + 2;
Check_Number_Of_Items;
Events.Action (Lf => List_Lf,
Fctn => "ListBottomPos",
Field => List_Path,
Value => Integer'Image (Number_Of_Items));
end Put_Line;
end Error_List;
nblk1=4
nid=3
hdr6=6
[0x00] rec0=1f rec1=00 rec2=01 rec3=03e
[0x01] rec0=1e rec1=00 rec2=04 rec3=01e
[0x02] rec0=06 rec1=00 rec2=02 rec3=000
[0x03] rec0=01 rec1=00 rec2=03 rec3=000
tail 0x2151fcda083a373159b9c 0x42a00088462060003
Free Block Chain:
0x3: 0000 00 00 00 03 00 00 00 00 00 00 1b 07 10 00 00 00 ┆ ┆