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

⟦0708e78ee⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Tsttime, seg_04fd92

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 V_I_Time;
--with V_Timer_Support;
with Xcalendar;
with Calendar;
with Simple_Io;
procedure Tsttime is
    Annee, Mois, Jour : Integer;
    Date_Heure : Calendar.Time;  
    Secondes : Duration;
    Adresse : constant Integer := 1;
    Sec, Sec1, Sec2 : Integer;  
    Num_Semaine : Integer;
begin
    Annee := 1995;
    Mois := 12;
    Jour := 12;
    Secondes := 0.0;

    Date_Heure := Calendar.Time_Of (Annee, Mois, Jour, Secondes);

    Xcalendar.Set_Clock (Date_Heure);

    V_I_Time.Current_Time (Jour, Secondes);

    Sec1 := Integer (Secondes);
    Sec2 := Integer (Secondes);

--    while (Sec2 - Sec1) < 500 loop
--    V_I_Time.Get_Current_Time ([expression]);
    V_I_Time.Current_Time (Jour, Secondes);

    Num_Semaine := Jour mod 7;
    Simple_Io.Put_Line ("numero dans la semaine :");
    Simple_Io.Put_Line (Integer'Image (Num_Semaine));
    Sec2 := Integer (Secondes);

    delay (5.0);
    Simple_Io.Put_Line ("Jour : ");
    Simple_Io.Put_Line (Integer'Image (Jour));

    Simple_Io.Put_Line ("sec1 : ");
    Simple_Io.Put_Line (Integer'Image (Sec1));

    Simple_Io.Put_Line ("sec2 : ");
    Simple_Io.Put_Line (Integer'Image (Sec2));
--    end loop;

end Tsttime;
pragma Main;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=27 rec1=00 rec2=01 rec3=03e
        [0x01] rec0=0c rec1=00 rec2=02 rec3=001
    tail 0x2154ab6b6877a56cd9a58 0x42a00088462060003