DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦db23959ea⟧ TextFile

    Length: 560 (0x230)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;