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

⟦32f42b645⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Our_Generic_String, seg_02730f, seg_027c50, seg_027ceb

Derivation

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

E3 Source Code



generic
    Default_Maximal_Length : Natural := 20;
package Our_Generic_String is

    subtype Max_Range is Natural range 0 .. Default_Maximal_Length;

    type Object (The_Size : Max_Range := Default_Maximal_Length) is
        record
            The_String : String (1 .. The_Size) := (others => ' ');
        end record;

    Undefined_Object : constant Object :=
       Object'(The_Size => 0, The_String => "");

    function Image (The_Object : Object) return String;

    function Value (S : String) return Object;

    procedure Copy (Target : in out Object; Source : Object);

    procedure Create (Target : in out Object; Source : String);

    function "&" (O1, O2 : Object) return Object;

    procedure Clear (The_Object : in out Object);

end Our_Generic_String;

E3 Meta Data

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