|
|
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: B T
Length: 1095 (0x447)
Types: TextFile
Names: »B«
└─⟦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⟧
with Text_Io;
with Magic;
with Magic_Strategy;
procedure Go_Magic is
package Io is new Text_Io.Integer_Io (Num => Natural);
Insize : Natural;
Mysize : Magic.Max_Size;
Again : Character;
begin
loop
Text_Io.New_Line;
Text_Io.Put ("Size of your Magic Square : ");
Io.Get (Insize);
Text_Io.New_Line;
if Insize mod 2 = 0 then
Text_Io.New_Line;
Text_Io.Put ("Size of your Magic Square : ");
Text_Io.New_Line;
Io.Get (Insize);
else
Mysize := Magic.Max_Size (Insize);
Magic_Strategy (Mysize);
end if;
Text_Io.New_Line;
Text_Io.Put ("Again (Y/N) ? ");
Text_Io.Get (Again);
exit when Again = 'n' or Again = 'N';
end loop;
Text_Io.Put ("See you... ");
Text_Io.New_Line;
exception
when Constraint_Error =>
Text_Io.Put ("Please key in a number, between 1 and 999 ! ");
Text_Io.New_Line;
Text_Io.Put ("Size of your Magic Square : ");
Io.Get (Insize);
end Go_Magic;