|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Lecteur_Zone_68, seg_051621
└─⟦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 Lecteur_Zone_68 is package Us renames Util_String; procedure Create (O : in out Object; Lecteur : Lecteur_68.T_Lecteur; Zone : Zone_68.T_Zone) is begin Set_Lecteur (O, Lecteur); Set_Zone (O, Zone); end Create; procedure Set_Lecteur (O : in out Object; Lecteur : Lecteur_68.T_Lecteur) is begin O.Lecteur := Lecteur; end Set_Lecteur; procedure Set_Zone (O : in out Object; Zone : Zone_68.T_Zone) is begin O.Zone := Zone; end Set_Zone; function Get_Lecteur (O : Object) return Lecteur_68.T_Lecteur is begin return O.Lecteur; end Get_Lecteur; function Get_Zone (O : Object) return Zone_68.T_Zone is begin return O.Zone; end Get_Zone; function Image (O : Object) return String is begin return (Debut_Lecteur_Zone & Us.Suppression_Espace_Left (Natural'Image (Get_Lecteur (O))) & Sep_Lecteur_Zone & Us.Suppression_Espace_Left (Natural'Image (Get_Zone (O))) & Sep_Lecteur_Zone & Fin_Lecteur_Zone); 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, P4 : Natural; begin Us.String_Contient (S, Debut_Lecteur_Zone, P1); Us.Position (S (P1 + 1 .. S'Last), Sep_Lecteur_Zone, P2); Us.Position (S (P2 + 1 .. S'Last), Sep_Lecteur_Zone, P3); Us.String_Contient (S (P3 + 1 .. S'Last), Fin_Lecteur_Zone, P4); Create (O => O, Lecteur => Natural'Value (S (P1 + 1 .. P2 - 1)), Zone => Natural'Value (S (P2 + 1 .. P3 - 1))); Der_Car := P4; end Value; end Lecteur_Zone_68;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=2c rec1=00 rec2=01 rec3=008 [0x01] rec0=00 rec1=00 rec2=04 rec3=028 [0x02] rec0=1b rec1=00 rec2=02 rec3=07c [0x03] rec0=05 rec1=00 rec2=03 rec3=000 tail 0x2154b44ce879a5bb347b6 0x42a00088462060003