|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 938 (0x3aa)
Types: TextFile
Names: »B«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
with Text_Io;
package body Command_Line_Handler is
Command_Line_File_Name : constant String := "COMMAND_LINE.TXT";
Command_File : Text_Io.File_Type;
procedure Reset is
begin
if Text_Io.Is_Open (Command_File) then
Text_Io.Close (Command_File);
end if;
end Reset;
procedure Next_Word (Word : out String; Length : out Natural) is
begin
if not Text_Io.Is_Open (Command_File) then
begin
Text_Io.Open (Command_File, Text_Io.In_File,
Command_Line_File_Name);
exception
when others =>
raise No_Command_Line_File;
end;
end if;
Text_Io.Get_Line (Command_File, Word, Length);
exception
when No_Command_Line_File =>
raise;
when others =>
raise No_More_Words;
end Next_Word;
end Command_Line_Handler;