DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦3268729fb⟧ TextFile

    Length: 1806 (0x70e)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Window_Io;
with Text_Io;
procedure Window is
    Oo : Window_Io.File_Type;
    Flux : Window_Io.Raw.Stream_Type;

    procedure Ouvrir (Console : in out Window_Io.File_Type) is
    begin
        Window_Io.Create (Console, Window_Io.Out_File,
                          "Menu (J-M. Batto - O. Pichot - O. Kreim)");

        Window_Io.Bell (Console);
        Window_Io.Insert
           (Console,
            "----------------------------------- Moteur ----------------------------------- ");
        Window_Io.New_Line (Console, 3);
        Window_Io.Insert (Console, "Tapez :");
        Window_Io.New_Line (Console, 2);
        Window_Io.Insert
           (Console,
            "         'D' (Debut) : Ouvre le fichier d'entree. Le spectacle peut commencer.");
        Window_Io.New_Line (Console, 1);
        Window_Io.Insert (Console,
                          "         'J' (Jouer) : Le spectacle s'anime.");
        Window_Io.New_Line (Console, 1);
        Window_Io.Insert
           (Console,
            "         'P' (Pause) : Met le spectacle en attente. 'J' relance le spectacle.");
        Window_Io.New_Line (Console, 1);
        Window_Io.Insert (Console,
                          "         'S' (Stop)  : Arret total du spectacle.");
        Window_Io.New_Line (Console, 1);
        --Window_Io.Close (Console);
        --Text_Io.Put_Line ("olivier ");
    end Ouvrir;


    procedure Fermer (Console : in out Window_Io.File_Type) is
    begin  
        Window_Io.Delete (Console);
    end Fermer;

begin
    Window_Io.Raw.Open (Flux);  
    Ouvrir (Oo);

    for I in 1 .. 5 loop
        Text_Io.Put_Line ("bonjour");
        delay 2.0;
    end loop;
    Window_Io.Raw.Disconnect (Flux);
    Window_Io.Raw.Close (Flux);
    Fermer (Oo);
    Text_Io.Put_Line ("bonjouroo");
end Window;