|
|
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, procedure Text_File_Copy_Test, seg_026770, seg_026d38
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Text_Io;
with Umps_Utilities;
procedure Text_File_Copy_Test is
File : Text_Io.File_Type;
begin
-- Text_Io.Open (File, Text_Io.In_File, "toto");
-- Text_Io.Close (File);
-- Umps_Utilities.Text_File_Copy ("toto", "tata");
if not Text_Io.Is_Open (File) then
Text_Io.Open (File, Text_Io.In_File, "toto");
else
Text_Io.Put_Line ("File toto is already open !");
end if;
exception
when Text_Io.Status_Error =>
Text_Io.Put_Line ("File toto is already open !");
when Text_Io.Name_Error =>
Text_Io.Create (File, Text_Io.Out_File, "toto");
-- same as the above Create_File procedure
Text_Io.Put_Line ("File toto has been created !");
when others =>
Text_Io.Put_Line ("Exception OTHERS : in Profile_Parser.Open_File");
end Text_File_Copy_Test;
pragma Main;
nblk1=2
nid=2
hdr6=2
[0x00] rec0=1b rec1=00 rec2=01 rec3=000
[0x01] rec0=00 rec1=08 rec2=20 rec3=095
tail 0x21721157283aa8b2774e2 0x42a00088783c7f403
Free Block Chain:
0x2: 0000 00 00 00 0b 80 02 6e 3b 02 00 00 00 00 00 00 00 ┆ n; ┆