|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Demo, seg_059654
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Easy_X;
with Graphic_Objects;
with Text_Io;
with Terminal_Virtuel;
procedure Demo (Display : String := "arnica:0") is
use Graphic_Objects;
use Terminal_Virtuel;
use Easy_X.Arithmetic;
A : Easy_X.Coordinate := 20;
B : Easy_X.Dimension := 14;
begin
Easy_X.Open (Display => Display,
Title => " JEU : La guerre des etoiles",
Left => 50,
Right => 50,
Width => 800,
Height => 240);
loop
case Easy_X.Next_Event is
when Easy_X.Update =>
Easy_X.Set_Font (To => Easy_X.Small_Font);
A := 0;
for I in 1 .. 7 loop
Easy_X.Move_To (40, A);
Easy_X.Draw_String ("Ceci est un message de test... ");
A := A + B;
end loop;
Draw_Line (X1 => 10, Y1 => 10, X2 => 20, Y2 => 20);
Afficher (100, 100, "X");
delay 10.0;
Deplacer (100, 100, 120, 120, "O");
when Easy_X.Button_Down =>
exit;
when Easy_X.Button_Up =>
null;
end case;
end loop;
Easy_X.Close;
exception
when others =>
Easy_X.Close;
end Demo;
pragma Main;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1f rec1=00 rec2=01 rec3=016
[0x01] rec0=11 rec1=00 rec2=02 rec3=000
tail 0x21767d0c889076fd57138 0x42a00088462060003