|
|
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: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_File, seg_042686
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Text_Io, File;
use Text_Io;
procedure Test_File is
Input_File : File_Type;
Number : Integer := 1;
begin
Open (Input_File, In_File, "scenario_for_test_file");
Set_Input (Input_File);
-- Put_Line ("test initialize");
File.Initialize;
-- Put_Line ("test is_at_end");
while not File.Is_At_End loop
-- Put_Line ("test next");
File.Next;
Put_Line ("sen : " & Integer'Image (Number) & " : " &
Integer'Image (Character'Pos (File.Get_Value)) &
" col" & Natural'Image (File.Get_Column) &
" line " & Natural'Image (File.Get_Line));
Number := Number + 1;
Put_Line (File.Get_Sentence);
end loop;
Set_Input (Standard_Input);
Close (Input_File);
end Test_File;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=1e rec1=00 rec2=01 rec3=000
tail 0x217433aee862d57f2731b 0x42a00088462060003