DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦30be7a805⟧ TextFile

    Length: 568 (0x238)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;