|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Construction_Des_Structures, seg_048d17, seg_049439
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Lex;
with Declaration_Des_Variables;
with Interface_Structure;
with Text_Io;
with Langage;
with Monde, Text_Io;
with Afficher_Structure;
with Main_Player;
with Interpreteur;
with Nos_Chaines;
procedure Test_Construction_Des_Structures is
Ok, Ok_Semantique : Boolean;
S : String (1 .. 80);
L : Natural;
Thefile : Text_Io.File_Type;
La_Commande, Bidon : Main_Player.T_Commande;
procedure Copy_Commande (T1 : in out Main_Player.T_Commande;
T2 : Main_Player.T_Commande) is
begin
T1.Size_Of_Commande := T2.Size_Of_Commande;
for I in T1.Tab_Commande'Range loop
Nos_Chaines.Copy (T1.Tab_Commande (I), T2.Tab_Commande (I));
end loop;
end Copy_Commande;
begin
Ok := True;
Ok_Semantique := True;
Lex.Open ("Scenario_essai");
Lex.Next;
Langage.Parse (Ok, Ok_Semantique);
if Ok then
Monde.Parse (Ok, Ok_Semantique);
end if;
-- Afficher_Structure.Afficher_Arbre_Total;
Ok_Semantique := (Ok_Semantique and Interface_Structure.Structure_Is_Ok);
if Ok then
Text_Io.Put_Line ("et hop c'est fait");
else
Text_Io.Put_Line ("false ");
end if;
if Ok_Semantique then
Text_Io.Put_Line ("structure is ok");
else
Text_Io.Put_Line ("structure is not ok");
end if;
Text_Io.Put_Line ("avant print verbe");
Text_Io.Put_Line ("avt wdows init");
Main_Player.Windows_Initialise;
Interface_Structure.Print_Verbes;
loop
Text_Io.Put_Line ("execution moteur");
--Main_Player.Get_File_Name (S, L);
--Text_Io.Open (File => Thefile,
---- Mode => Text_Io.In_File,
-- Name => S (1 .. L),
-- Form => "");
Main_Player.Get_New_Commande;
Copy_Commande (La_Commande, Main_Player.Get_Commande);
Main_Player.Affiche (La_Commande);
end loop;
exception
when Interpreteur.End_Of_Play =>
Text_Io.Put_Line ("fin test");
Main_Player.Windows_Delete;
--when others =>
-- Text_Io.Put_Line ("Erreur test");
end Test_Construction_Des_Structures;
nblk1=4
nid=2
hdr6=6
[0x00] rec0=23 rec1=00 rec2=01 rec3=00e
[0x01] rec0=1f rec1=00 rec2=03 rec3=026
[0x02] rec0=09 rec1=00 rec2=04 rec3=000
[0x03] rec0=04 rec1=2c rec2=ce rec3=642
tail 0x215463ed4865a9c6e5d3f 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 00 00 79 80 0a 77 73 5f 44 65 6c 65 74 65 3b ┆ y ws_Delete;┆