|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Magic_Square, seg_02fa99
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Magic;
procedure Magic_Square is
Carre : Magic.Square (O => Get_Size);
Jeton : Magic.Token := 1;
begin
Magic.Johnson (Carre);
Magic.Go_To_Center (Carre);
Magic.Move_To (Carre, Magic.North);
for I in Integer range 1 .. Carre.O loop
for J in Integer range 1 .. Carre.O loop
while not Magic.Cell_Empty (Carre) loop
Magic.Move_To (Carre, Magic.West);
Magic.Move_To (Carre, Magic.North);
end loop;
Magic.Deposit (Carre, Jeton);
Jeton := Magic.Token'Succ (Jeton);
Magic.Move_To (Carre, Magic.East);
Magic.Move_To (Carre, Magic.North);
end loop;
end loop;
Magic.Display (Carre);
end Magic_Square;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=18 rec1=00 rec2=01 rec3=000
tail 0x21528d9d684925bced482 0x42a00088462060003