|
|
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 Site_68, seg_04eb50
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Util_String;
package body Site_68 is
package Us renames Util_String;
function Image (O : Object) return String is
begin
return (Debut_Site & Us.Suppression_Espace_Left
(Natural'Image (Get_Numero (O))) &
Sep_Site & Fin_Site);
end Image;
function Value (S : String) return Object is
O : Object;
Der_Car : Natural;
begin
Value (S, O, Der_Car);
return O;
end Value;
procedure Value (S : String; O : in out Object; Der_Car : in out Natural) is
P1, P2, P3 : Natural;
begin
Us.String_Contient (S, Debut_Site, P1);
Us.Position (S (P1 .. S'Last), Sep_Site, P2);
Us.String_Contient (S (P2 + 1 .. S'Last), Fin_Site, P3);
Create (O, Natural'Value (S (P1 + 1 .. P2 - 1)));
Der_Car := P3;
end Value;
procedure Create (O : in out Object; N : T_Site) is
begin
Set_Numero (O, N);
end Create;
function Get_Numero (O : Object) return T_Site is
begin
return O.Numero;
end Get_Numero;
procedure Set_Numero (O : in out Object; N : T_Site) is
begin
O.Numero := N;
end Set_Numero;
end Site_68;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=28 rec1=00 rec2=01 rec3=06e
[0x01] rec0=11 rec1=00 rec2=02 rec3=001
tail 0x217563d488770673349d2 0x42a00088462060003