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

⟦7d40f09d6⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mutable, procedure Ok_Mutability, seg_00c876

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



with Text_Io;
procedure Ok_Mutability is  
    package Mutable is
        Max : constant Natural := 1000;
        subtype Index is Natural range 0 .. Max;

        type Object (Size : Index := 20) is private;  
    private
        type Element is
            record
                A, B, C, D, E, F, G, H, I, J, K, L, M,
                N, O, P, Q, R, S, T, U, V, W, X, Y, Z : Integer;
            end record;

        type Multi_Element is
            record
                A, B, C, D, E, F, G, H, I, J, K, L, M,
                N, O, P, Q, R, S, T, U, V, W, X, Y, Z : Element;
            end record;

        type Element_Array is array (Natural range <>) of Multi_Element;

        type Object (Size : Index := 20) is
            record
                Extensible : Element_Array (1 .. Size);
                A, B       : Integer;
            end record;

    end Mutable;
    M1 : Mutable.Object;
    package body Mutable is

    end Mutable;
begin
    Text_Io.Put_Line (Integer'Image (M1'Size / 8));
end Ok_Mutability;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=22 rec1=00 rec2=01 rec3=020
        [0x01] rec0=04 rec1=00 rec2=02 rec3=000
    tail 0x217098dc6820770aad87c 0x42a00088462063c03