DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦8a2edf420⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Horaire, seg_03f2fd

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Conversion;
package body Horaire is

    function Creation
                (Une_Heure : Natural; Des_Minutes : Natural) return Objet is
    begin
        return (L_Heure => Une_Heure, La_Minute => Des_Minutes);
    end Creation;


    function Value (L_Horaire : System.Byte_String) return Objet is
    begin
        return (L_Heure => Heure'Value (System.Byte'Image (L_Horaire (1))),
                La_Minute => Minute'Value (System.Byte'Image (L_Horaire (2))));
    end Value;


    function Image (L_Horaire : Objet) return System.Byte_String is
        Chaine_Octet : System.Byte_String (1 .. 2);
    begin
        return (System.Byte'Value (Heure'Image (L_Horaire.L_Heure)),
                System.Byte'Value (Minute'Image (L_Horaire.La_Minute)));
    end Image;


    procedure Affiche (L_Horaire : Objet) is
    begin
        [statement]
    end Affiche;


    procedure Detruire (L_Horaire : Objet) is
    begin
        [statement]
    end Detruire;
end Horaire;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=020
        [0x01] rec0=03 rec1=00 rec2=02 rec3=001
    tail 0x21538cf7c8607562b018a 0x42a00088462060003