|
|
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: 1534 (0x5fe)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Text_Io;
package body Unparser is
procedure Create (Name : in String) is
begin
Current_Col := 1;
Fichier_Io.Create (Fichier_Source, Text_Io.Out_File, Name);
Fichier_Io.Set_Col (Fichier_Source,
Text_Io.Positive_Count (Current_Col));
end Create;
procedure Put (Item : String) is
begin
Fichier_Io.Put (Fichier_Source, Item);
end Put;
procedure Put (Item : Integer) is
begin
Fichier_Io.Put (Fichier_Source, Item);
end Put;
procedure Put_Line (Item : String) is
begin
Fichier_Io.Put_Line (Fichier_Source, Item);
Fichier_Io.Set_Col (Fichier_Source,
Text_Io.Positive_Count (Current_Col));
end Put_Line;
procedure Set_Col (To : Natural := 0) is
begin
Current_Col := Current_Col + To;
Fichier_Io.Set_Col (Fichier_Source,
Text_Io.Positive_Count (Current_Col));
end Set_Col;
procedure Unset_Col (To : Natural := 0) is
begin
if Current_Col > To then
Current_Col := Current_Col - To;
Fichier_Io.Unset_Col (Fichier_Source,
Text_Io.Positive_Count (Current_Col));
end if;
end Unset_Col;
procedure Open (Name : in String) is
begin
Fichier_Io.Open (Fichier_Source, Name);
end Open;
procedure Close (Name : in String) is
begin
Fichier_Io.Close (Fichier_Source);
end Close;
end Unparser;