|
|
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: 1494 (0x5d6)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
package body Tad_Actor is
procedure Create_New_Actor (The_Object : out Object;
The_Name : String;
The_Address : Natural := 0) is
New_Name : String (1 .. 20) := (1 .. 20 => ' ');
begin
New_Name (1 .. The_Name'Last) := The_Name;
The_Object := Object'(New_Name, No_Type, The_Address);
end Create_New_Actor;
procedure Add_Type (The_Object : in out Object; The_Type : Type_Actor) is
begin
The_Object.Actor_Type := The_Type;
end Add_Type;
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;
function What_Type (The_Object : Object) return Type_Actor is
begin
return The_Object.Actor_Type;
end What_Type;
function What_Address (The_Object : Object) return Natural is
begin
return The_Object.Actor_Address;
end What_Address;
function Export_Address_Pointer (The_Object : Object) return Pnatural is
Export : Pnatural;
begin
Export.all := What_Address (The_Object);
return Export;
end Export_Address_Pointer;
end Tad_Actor;