|
|
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: 568 (0x238)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
package body My_String is
procedure Add (The_String : in out Object; C : in Character) is
begin
The_String.Length := The_String.Length + 1;
The_String.Value (The_String.Length) := C;
exception
when Constraint_Error =>
raise Full;
end Add;
procedure Flush (The_String : in out Object) is
begin
The_String.Length := 0;
end Flush;
function Value (The_String : in Object) return String is
begin
return The_String.Value (1 .. The_String.Length);
end Value;
end My_String;