|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Verbs_A, seg_0488f6
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with List, String_Utilities, Unbounded_String;
package body Verbs_A is
package Identifier is new Unbounded_String (1);
subtype String_Verb is Identifier.Variable_String;
package Verbs_List is new List (Element => String_Verb);
A_List : Verbs_List.Object;
procedure Create (Name : String) is
A_Verb : String_Verb;
begin
A_Verb := Identifier.Value (Name);
if not Exists (Name) then
Verbs_List.Insert (A_List, A_Verb);
end if;
end Create;
function Exists (Name : String) return Boolean is
A_Verb : String_Verb;
begin
Verbs_List.Go_First (A_List);
while not Verbs_List.At_End (A_List) loop
A_Verb := Verbs_List.Get_Current_Element (A_List);
if String_Utilities.Equal (Name, Identifier.Image (A_Verb)) then
return True;
end if;
Verbs_List.Go_Next (A_List);
end loop;
return False;
end Exists;
procedure Go_First is
begin
Verbs_List.Go_First (A_List);
end Go_First;
procedure Go_Next is
begin
Verbs_List.Go_Next (A_List);
end Go_Next;
function At_End return Boolean is
begin
return Verbs_List.At_End (A_List);
end At_End;
function Get_Current return String is
A_Verb : String_Verb;
begin
A_Verb := Verbs_List.Get_Current_Element (A_List);
return Identifier.Image (A_Verb);
end Get_Current;
end Verbs_A;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=22 rec1=00 rec2=01 rec3=022
[0x01] rec0=1b rec1=00 rec2=02 rec3=001
tail 0x21545d4d8865a3e0227c9 0x42a00088462060003