|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Fichier_Io, seg_0388a3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Text_Io;
package body Fichier_Io is
function At_End (Fichier_Source : in Text_Io.File_Type) return Boolean is
begin
if Look_A_Head then
return False;
else
return Text_Io.End_Of_File (Fichier_Source);
end if;
end At_End;
function Get (Fichier_Source : in Text_Io.File_Type) return Character is
begin
if Look_A_Head then
Look_A_Head := False;
else
if At_End (Fichier_Source) then
Current_Char := Ascii.Eot;
else
if Text_Io.End_Of_Line (Fichier_Source) then
Text_Io.Skip_Line (Fichier_Source);
Current_Char := Ascii.Cr;
else
Text_Io.Get (Fichier_Source, Current_Char);
end if;
end if;
end if;
return Current_Char;
end Get;
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;
procedure Next (Fichier_Source : in Text_Io.File_Type) is
begin
if (Look_A_Head) then
Look_A_Head := False;
else
Text_Io.Get (Fichier_Source, Current_Char);
end if;
end Next;
procedure Open (Fichier_Source : in out Text_Io.File_Type;
Name : in String) is
begin
Text_Io.Open (Fichier_Source, Text_Io.In_File, Name);
Look_A_Head := False;
end Open;
procedure Unget (Fichier_Source : in Text_Io.File_Type) is
begin
Look_A_Head := True;
end Unget;
procedure Create (Fichier_Source : in out Text_Io.File_Type;
Mode : Text_Io.File_Mode := Text_Io.Out_File;
Name : in String) is
begin
Text_Io.Create (Fichier_Source, Text_Io.Out_File, Name);
end Create;
procedure Put (Fichier_Source : in out Text_Io.File_Type; Item : String) is
begin
Text_Io.Put (Fichier_Source, Item);
end Put;
procedure Put (Fichier_Source : in out Text_Io.File_Type; Item : Integer) is
package Io is new Text_Io.Integer_Io (Integer);
begin
Io.Put (Fichier_Source, Item);
end Put;
procedure Put_Line
(Fichier_Source : in out Text_Io.File_Type; Item : String) is
begin
Text_Io.Put_Line (Fichier_Source, Item);
end Put_Line;
procedure Set_Col (Fichier_Source : in out Text_Io.File_Type;
To : Text_Io.Positive_Count) is
begin
Text_Io.Set_Col (Fichier_Source, Text_Io.Positive_Count (To));
end Set_Col;
procedure Unset_Col (Fichier_Source : in out Text_Io.File_Type; To : Text_Io.Positive_Count) is
begin
Text_Io.Set_Col (Fichier_Source, Text_Io.Positive_Count (To));
end Unset_Col;
end Fichier_Io;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=29 rec1=00 rec2=01 rec3=02c
[0x01] rec0=22 rec1=00 rec2=02 rec3=07c
[0x02] rec0=1d rec1=00 rec2=04 rec3=002
[0x03] rec0=07 rec1=00 rec2=03 rec3=000
tail 0x21531a5f684e773cde377 0x42a00088462060003