|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Magic_Square, seg_02fa9e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; with Square; procedure Magic_Square (Size : in Positive) is package My_Square is new Square (Size); use My_Square; begin Go_To_Center; Deposit (Token (1)); for I in 2 .. (Size * Size) loop Move (D => North); Move (D => East); if (Get_Token /= Token (0)) then Move (D => North); Move (D => West); end if; Deposit (T => Token (I)); end loop; Text_Io.Put_Line ("Magic square is calculated"); Display; end Magic_Square;
nblk1=2 nid=2 hdr6=2 [0x00] rec0=1b rec1=00 rec2=01 rec3=000 [0x01] rec0=03 rec1=00 rec2=02 rec3=001 tail 0x217289d30849260b8d04c 0x42a00088462060003 Free Block Chain: 0x2: 0000 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 ┆ ┆