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

⟦12be0fc8e⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Horaire_68, seg_051618

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



package Horaire_68 is

    subtype T_Heure is Natural range 0 .. 23;
    subtype T_Minute is Natural range 0 .. 59;

    -- constantes utilisees par la fonction image
    Debut_Horaire : constant String := "Horaire";
    Fin_Horaire : constant String := "Fin Horaire";
    Sep_Horaire : constant Character := '#';

    type Object is private;

    procedure Create (O : in out Object; Heure : Natural; Minute : Natural);

    procedure Set_Heure (O : in out Object; Heure : Natural);
    procedure Set_Minute (O : in out Object; Minute : Natural);

    function Get_Heure (O : Object) return T_Heure;
    function Get_Minute (O : Object) return T_Minute;

    function Image (O : Object) return String;
    function Value (S : String) return Object;

    procedure Value (S : String; O : in out Object; Der_Car : in out Natural);

    function Superieur (O1 : Object; O2 : Object) return Boolean;
    function Egal (O1 : Object; O2 : Object) return Boolean;

    Code_Heure_Error : exception;
    Code_Minute_Error : exception;

private

    type Object is
        record
            Heure : T_Heure;
            Minute : T_Minute;
        end record;

end Horaire_68;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=000
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x2154b44aa879a5ba21437 0x42a00088462060003