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 - downloadIndex: ┃ B T ┃
Length: 1689 (0x699) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
with Tad_Material; package body Tad_Global is procedure Create_New_Station (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, 0, null); end Create_New_Station; procedure Set_Material_Type (The_Object : in out Object; Material_Type : Tad_Material.Object) is begin The_Object.Material_Type := new Tad_Material.Object'(Material_Type); end Set_Material_Type; procedure Set_Station_Number (The_Object : in out Object; The_Address : Natural) is begin The_Object.Station := The_Address; end Set_Station_Number; function Get_Station_Number (The_Object : Object) return Natural is begin return The_Object.Station; end Get_Station_Number; procedure Get_Material_Type (The_Object : Object; The_Material_Type : out Tad_Material.Object) is begin The_Material_Type := The_Object.Material_Type.all; end Get_Material_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 Export_Address_Pointer (The_Object : Object) return Pnatural is Export : Pnatural; begin Export.all := Get_Station_Number (The_Object); return Export; end Export_Address_Pointer; end Tad_Global;