|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Fichier_Io, seg_031849
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦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;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=24 rec1=00 rec2=01 rec3=024
[0x01] rec0=1f rec1=00 rec2=02 rec3=001
tail 0x2172b9edc84be5fa6f723 0x42a00088462060003