|
|
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 Carte_68, seg_04e1fd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Util_String;
package body Carte_68 is
package Us renames Util_String;
procedure Create (O : in out Object; Numero : T_Carte) is
begin
Set_Numero (O, Numero);
end Create;
procedure Set_Numero (O : in out Object; Numero : T_Carte) is
begin
O.Numero := Numero;
end Set_Numero;
function Get_Numero (O : Object) return T_Carte is
begin
return O.Numero;
end Get_Numero;
function Image (O : Object) return String is
begin
return (Debut_Carte & Us.Suppression_Espace_Left
(Natural'Image (Get_Numero (O))) &
Sep_Carte & Fin_Carte);
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_Carte, P1);
Us.Position (S (P1 + 1 .. S'Last), Sep_Carte, P2);
Us.String_Contient (S (P2 + 1 .. S'Last), Fin_Carte, P3);
Create (O, Natural'Value (S (P1 + 1 .. P2 - 1)));
Der_Car := P3;
end Value;
end Carte_68;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=2b rec1=00 rec2=01 rec3=09a
[0x01] rec0=0b rec1=00 rec2=02 rec3=001
tail 0x21549edaa876a5f030b57 0x42a00088462060003