|
|
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: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Carte, seg_04cd37, seg_04cd58
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with String_Utilities;
package body Carte is
package Su renames String_Utilities;
function Image (La_Carte : in Object;
La_Plage : in Natural;
Ne_Sert_A_Rien : Boolean := False) return Mt.Bs_Access is
begin
return (new Mt.Byte_String'(1 => La_Carte / 100,
2 => (La_Carte mod 100),
3 => Mt.Byte'(La_Plage)));
end Image;
function Image (De_La_Carte : in Object;
A_La_Carte : in Object;
La_Plage : in Natural) return Mt.Bs_Access is
begin
return (new Mt.Byte_String'(1 => De_La_Carte / 100,
2 => (De_La_Carte mod 100),
3 => A_La_Carte / 100,
4 => (A_La_Carte mod 100),
5 => Mt.Byte'(La_Plage)));
end Image;
function Image (La_Carte : in Object) return String is
begin
return (Su.Number_To_String (Value => La_Carte, Width => 4));
end Image;
function Image (La_Carte : in Object) return Mt.Bs_Access is
begin
return (new Mt.Byte_String'(1 => La_Carte / 100,
2 => ((La_Carte mod 100))));
end Image;
function Image (De_La_Carte : in Object; A_La_Carte : in Object)
return Mt.Bs_Access is
begin
return (new Mt.Byte_String'(1 => De_La_Carte / 100,
2 => (De_La_Carte mod 100),
3 => A_La_Carte / 100,
4 => (A_La_Carte mod 100)));
end Image;
function Value (The_Byte_String : in Mt.Byte_String) return Object is
begin
return ((The_Byte_String (1) * 100) + The_Byte_String (2));
exception
when Constraint_Error =>
return Zero;
end Value;
end Carte;
nblk1=3
nid=0
hdr6=6
[0x00] rec0=19 rec1=00 rec2=01 rec3=02c
[0x01] rec0=1d rec1=00 rec2=02 rec3=030
[0x02] rec0=03 rec1=00 rec2=03 rec3=000
tail 0x217540c7a874f6e1e8f73 0x42a00088462060003