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

⟦92d03639d⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Objects_Test, seg_0043a0

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



package body Objects_Test is

    type Rec is
        record
            A            : Boolean;  
            B            : Boolean;
            C            : Character;
            Real1, Real2 : Float;
        end record;

    Z : T;

    F : constant Float := 18.9;

    G : constant := 9.8;

    procedure Test_It (I : Float; C : out Character; B : in out Boolean) is
        F1, F2 : Float;
    begin
        F1 := F;
        F2 := F;
    end Test_It;

    procedure P is
        X  : Integer;
        Cc : constant Number := (1.0, 2.0);
        R  : Rec;
    begin
        R.A     := True;
        R.Real1 := 5.6;
        Test_It (R.Real1, R.C, R.A);
    end P;

begin  
    declare
        E1, E2 : Integer;
        A      : Float;
        C      : Character;
        B      : Boolean;
        R1, R2 : constant := 88;
    begin
        E1 := E2;
        Test_It (A, C, B);
    end;
end Objects_Test;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=2f rec1=00 rec2=01 rec3=001
    tail 0x217001644815c63026eaa 0x42a00088462061e03