|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 795 (0x31b)
Types: TextFile
Names: »V«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
package Magic is
Borne_Sup : constant Natural := 999;
subtype Size is Natural range 1 .. Borne_Sup;
type Square (Dimension : Size) is private;
procedure Display (Tab : in out Square);
private
subtype Token is Natural range 0 .. Size'Last * Size'Last;
type Matrix is array (Size range <>, Size range <>) of Token;
type Direction is (North, East, West);
subtype Line is Size;
subtype Row is Size;
type Square (Dimension : Size) is
record
A : Matrix (Line range 1 .. Dimension, Row range 1 .. Dimension) :=
(others => (others => 0));
Current_Line : Line := Dimension / 2;
Current_Row : Line := Dimension / 2 + 1;
end record;
procedure Walking (Tab : in out Square);
end Magic;