DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦96387df56⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Standard_String, seg_02f2e3

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



package Standard_String is
    subtype Typic is Natural range 0 .. 255;
    Typic_Size : constant Natural := 80;
    type Object (Max_Size : Typic := Typic_Size) is limited private;

    procedure Add_Char (A_String : in out Object; A_Char : Character);
    procedure Reset (A_String : in out Object);
    function Length (A_String : Object) return Natural;
    function Get_Contents (A_String : Object) return String;  
    procedure Put_Contents (A_String : in out Object; S : String);

    function "=" (Left, Rigth : Object) return Boolean;

private

    subtype Contents is String;
    type Object (Max_Size : Typic := Typic_Size) is
        record
            The_Length : Natural := 0;
            The_Contents : Contents (1 .. Max_Size);
        end record;
end Standard_String;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=18 rec1=00 rec2=01 rec3=000
    tail 0x217276db484843cfdfe48 0x42a00088462060003