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

⟦bb5f8d880⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Square, seg_02fa33, seg_0356dc, seg_038f46

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 Square is
    subtype Size is Natural range 1 .. 99;
    type Magic_Square (Dim : Size) is private;  
    procedure Display (Tab : in out Magic_Square);

private  
    type Direction is (North, West, East);
    type Matrix is array (Size range <>, Size range <>) of Natural;
    type Magic_Square (Dim : Size) is
        record
            Table : Matrix (1 .. Dim, 1 .. Dim);
            Line : Size := (Dim / 2) + 1;
            Row : Size := (Dim / 2);
        end record;

    procedure Move (D : Direction; Tab : in out Magic_Square);

end Square;

E3 Meta Data

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