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 - downloadIndex: ┃ B T ┃
Length: 1247 (0x4df) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
with Bounded_String; with File; with Scanner; package body Unparse_Report is Tab_Space_Number : constant Natural := 4; Indentation_Level : Natural := 0; function Indent (Level : Natural) return String is A_Bs_String : Scanner.B_String; begin Bounded_String.Free (A_Bs_String); Bounded_String.Set_Length (A_Bs_String, Level * Tab_Space_Number); return Bounded_String.Image (A_Bs_String); end Indent; procedure Write (Line : String) is begin File.Write (Line); end Write; procedure New_Line is begin File.New_Line; File.Write (Indent (Indentation_Level)); end New_Line; procedure Open (File_Name : String) is begin File.Create (File_Name); Write ("-- This file was created by Tiny_Talk Unparse"); New_Line; Write ("-- Copyright G.BRENET / S.FLON"); New_Line; New_Line; end Open; procedure Close is begin File.Close; end Close; procedure Tab is begin Indentation_Level := Indentation_Level + 1; end Tab; procedure Untab is begin Indentation_Level := Indentation_Level - 1; end Untab; end Unparse_Report;