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: 2731 (0xaab) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧ └─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦this⟧
with Communications; with Errors; with Files; with Interchange; with Mac_Files; with Mac_Path; with Mac_Types; with Mac_Text; with Osutils; with Rational_Error; with System; with Talk_Utils; with Text_Io; use Text_Io; with Unchecked_Conversion; package body Expunge_R is package Expunge_F is procedure Object_In (Name : Mac_Text.Text); procedure Options_In (Options : Mac_Text.Text); procedure End_Expunge; end Expunge_F; package body Expunge_F is procedure Object_In (Name : Mac_Text.Text) is begin null; end Object_In; procedure Options_In (Options : Mac_Text.Text) is begin null; end Options_In; procedure End_Expunge is begin null; end End_Expunge; end Expunge_F; procedure Read (A_Connection : in out Communications.Connection) is I : Mac_Types.Longint; B : Boolean; T : Mac_Text.Text (256); begin Put_Line ("expunge_r:read begin"); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Object then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Text (A_Connection, T); Expunge_F.Object_In (T); Put ("expunge_r:to file '"); for I in 1 .. Mac_Text.Length (T) loop Put (Character'Val (Mac_Types.Char'Pos (Mac_Text.Value (I, T)))); end loop; Put_Line ("'"); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Options then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Text (A_Connection, T); Expunge_F.Options_In (T); Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.F_Delimitor then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Interchange.Get_Int (A_Connection, I); if I /= Talk_Utils.R_Expunge then Rational_Error.Raise_Error (Rational_Error.Internal_Error); end if; Put_Line ("expunge_r:read end"); end Read; procedure Write (A_Connection : in out Communications.Connection) is begin Put_Line ("expunge_r:write begin"); begin Expunge_F.End_Expunge; exception when others => Rational_Error.Report (A_Connection, Talk_Utils.R_Expunge, Rational_Error.Get); end; Interchange.Put_Int (A_Connection, Talk_Utils.F_Delimitor); Interchange.Put_Int (A_Connection, Talk_Utils.R_Expunge); Put_Line ("expunge_r:write end"); end Write; end Expunge_R;