|
|
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: 1182 (0x49e)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Actor_Tree;
package body Tad_Material is
procedure Create_New_Material
(The_Object : out Object; The_Name : String) is
New_Name : String (1 .. 20) := (1 .. 20 => ' ');
begin
New_Name (1 .. The_Name'Last) := The_Name;
The_Object := Object'(New_Name, Actor_Tree.Create_New_Tree);
end Create_New_Material;
procedure Set_Actors (The_Object : in out Object;
The_Actors : Actor_Tree.Object) is
begin
The_Object.Actors := The_Actors;
end Set_Actors;
procedure Get_Actors (The_Object : Object;
The_Actors : out Actor_Tree.Object) is
begin
The_Actors := The_Object.Actors;
end Get_Actors;
function Compare_Name (Object1, Object2 : Object) return Integer is
begin
if Object1.Name = Object2.Name then
return 0;
end if;
if Object1.Name > Object2.Name then
return 1;
else
return -1;
end if;
end Compare_Name;
function What_Name (The_Object : Object) return String is
begin
return The_Object.Name;
end What_Name;
end Tad_Material;