|
|
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: 1731 (0x6c3)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
with Sequential_Io;
with Text_Io;
package body Fichier_Io is
procedure Open (Fichier_Source : in out Text_Io.File_Type;
Name : in String := "Chtiny_Talk") is
begin
Text_Io.Open (Fichier_Source, Text_Io.In_File, Name);
Look_Ahead := False;
end Open;
function At_End (Fichier_Source : in Text_Io.File_Type) return Boolean is
begin
if (Look_Ahead) then
return False;
else
return Text_Io.End_Of_File (Fichier_Source);
end if;
end At_End;
function At_Line (Fichier_Source : in Text_Io.File_Type) return Boolean is
begin
if (Look_Ahead) then
return False;
else
return Text_Io.End_Of_Line (Fichier_Source);
end if;
end At_Line;
procedure Next (Fichier_Source : in Text_Io.File_Type) is
begin
if (Look_Ahead) then
Look_Ahead := False;
elsif At_Line (Fichier_Source) then
Current_Char := Ascii.Cr;
Text_Io.Skip_Line (Fichier_Source);
else
Text_Io.Get (Fichier_Source, Current_Char);
end if;
end Next;
function Get (Fichier_Source : in Text_Io.File_Type) return Character is
begin
Next (Fichier_Source);
return Value (Fichier_Source);
end Get;
procedure Unget (Fichier_Source : in Text_Io.File_Type) is
begin
Look_Ahead := True;
end Unget;
function Value (Fichier_Source : in Text_Io.File_Type) return Character is
begin
return Current_Char;
end Value;
procedure Close (Fichier_Source : in out Text_Io.File_Type) is
begin
Text_Io.Close (Fichier_Source);
end Close;
end Fichier_Io;