|
|
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 File, seg_047829
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
package body File is
Current_Char : Character;
Look_Ahead : Boolean := False;
File_Error_Report : Text_Io.File_Type;
procedure Open (A_File : Text_Io.File_Type) is
begin
Look_Ahead := False;
end Open;
procedure Create_Error_Report (Nom_Error_Report : String) is
begin
Text_Io.Create (File_Error_Report, Text_Io.Out_File, Nom_Error_Report);
end Create_Error_Report;
procedure Save_Error_Report (Chaine : String) is
begin
Text_Io.Put (File_Error_Report, Chaine);
end Save_Error_Report;
procedure New_Line_Error_Report is
begin
Text_Io.New_Line (File_Error_Report);
end New_Line_Error_Report;
procedure Close_Error_Report is
begin
Text_Io.Close (File_Error_Report);
end Close_Error_Report;
function At_End_Of_Line (A_File : Text_Io.File_Type) return Boolean is
begin
return Text_Io.End_Of_Line (A_File);
end At_End_Of_Line;
function Is_At_End (A_File : Text_Io.File_Type) return Boolean is
Result : Boolean := False;
begin
if Text_Io.End_Of_Line (A_File) then
Text_Io.Skip_Line (A_File);
if Text_Io.End_Of_File (A_File) then
Result := True;
end if;
end if;
return Result;
end Is_At_End;
function At_End (A_File : Text_Io.File_Type) return Boolean is
begin
if not Look_Ahead then
return Is_At_End (A_File);
else
return False;
end if;
end At_End;
procedure Next (A_File : Text_Io.File_Type) is
begin
if not Look_Ahead then
Text_Io.Get (A_File, Current_Char);
else
Look_Ahead := False;
end if;
end Next;
function Get (A_File : Text_Io.File_Type) return Character is
begin
Next (A_File);
return Value (A_File);
end Get;
procedure Unget (A_File : Text_Io.File_Type) is
begin
Look_Ahead := True;
end Unget;
function Value (A_File : Text_Io.File_Type) return Character is
begin
return Current_Char;
end Value;
end File;
nblk1=4
nid=3
hdr6=6
[0x00] rec0=23 rec1=00 rec2=01 rec3=00a
[0x01] rec0=25 rec1=00 rec2=04 rec3=030
[0x02] rec0=0f rec1=00 rec2=02 rec3=000
[0x03] rec0=0f rec1=00 rec2=02 rec3=000
tail 0x2154494ec865464ca32cd 0x42a00088462060003
Free Block Chain:
0x3: 0000 00 00 00 08 00 05 20 20 20 20 65 05 64 20 56 61 ┆ e d Va┆