|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1356 (0x54c)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Etape;
with Role;
with Scene;
with Text_Io;
with Io_Exceptions;
procedure Moteur is
package Int_Io is new Text_Io.Integer_Io (Integer);
S : Scene.Scene;
F : Text_Io.File_Type;
N : Natural := 0;
Chaine : String (1 .. 50);
procedure Release is
begin
Text_Io.New_Line;
Text_Io.Put_Line
("-- Interpreteur de fichiers source SHOW-NET (v1.0) --");
Text_Io.Put_Line
(" (c) BROCHET - CHAUVINEAU - FREYERMUTH 1994 ");
Text_Io.New_Line;
end Release;
begin
Release;
Text_Io.Put ("Entrer le nom du fichier a jouer : ");
Text_Io.Get_Line (Chaine, N);
Text_Io.New_Line;
Text_Io.Open (File => F, Mode => Text_Io.In_File, Name => Chaine (1 .. N));
S := Scene.Chargerunescene (F);
Text_Io.Close (F);
Scene.Jouerunescene (S);
Text_Io.Put_Line ("Fin d'animation.");
exception
when Io_Exceptions.Name_Error =>
Text_Io.Put_Line ("Fichier " & "introuvable, recommencez.");
when Io_Exceptions.Data_Error =>
Text_Io.Put_Line ("Type de fichier" & " incorrect, recommencez.");
Text_Io.Close (F);
when Io_Exceptions.Status_Error =>
Text_Io.Put_Line ("Fichier vide," & " recommencez.");
Text_Io.Close (F);
when others =>
Text_Io.Put_Line ("Erreur pendant l'animation.");
end Moteur;