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 - downloadIndex: ┃ T V ┃
Length: 883 (0x373) 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 subtype Ordre is Positive range 1 .. 999; type Square (O : Ordre) is private; type Direction is (North, South, East, West); procedure Move_To (Carre : in out Square; D : in Direction); procedure Go_To_Center (Carre : in out Square); subtype Token is Positive; procedure Deposit (Carre : in out Square; T : in Token); function Cell_Empty (Carre : in Square) return Boolean; procedure Display (Carre : in Square); procedure Johnson (Carre : in out Square); function Get_Size return Ordre; private type Matrix is array (Ordre range <>, Ordre range <>) of Natural; subtype Row is Ordre; subtype Column is Ordre; type Square (O : Ordre) is record Matrice : Matrix (1 .. O, 1 .. O); Ligne : Row := O / 2; Colonne : Column := O / 2 + 1; end record; end Magic;