|
|
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, package body Square, seg_0586da
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
package body Square is
procedure Move (D : in Direction; Pos : in out Position) is
begin
case D is
when Nord =>
if Position.Y = 1 then
Position.Y := Taille;
else
Position.Y := Position.Y - 1;
end if;
when Sud =>
Position.Y := Position.Y + 1;
when Est =>
Position.X := Position.X - 1;
when Ouest =>
Postion.X := Position.X + 1;
end case;
end Move;
procedure Go_Centre is
begin
Position.X := 5 mod 2;
Position.Y := Position.Y;
end Go_Centre;
procedure Depose (T : Token) is
begin
[statement]
end Depose;
end Square;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=22 rec1=00 rec2=01 rec3=000
tail 0x21765e29a88b576b442e6 0x42a00088462060003