|
|
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: 7168 (0x1c00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Test_Reading_Item, seg_04568d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Items, Text_Io;
package body Test_Reading_Item is
Ok : Boolean;
procedure Affiche is
begin
Text_Io.Put_Line ("commentaire de la Lampe : " &
Items.Get_Comment ("Lampe"));
Text_Io.Put_Line ("commentaire de la clef : " &
Items.Get_Comment ("clef"));
Text_Io.Put_Line ("commentaire du porte_manteaux : " &
Items.Get_Comment ("porte manteaux en bois"));
Text_Io.Put_Line ("commentaire du livre : " &
Items.Get_Comment ("livre"));
Text_Io.New_Line;
Text_Io.Put_Line ("position de Lampe : " &
Items.Get_Position ("Lampe"));
Text_Io.Put_Line ("position du sac : " & Items.Get_Position ("sac"));
Text_Io.Put_Line ("position du livre : " &
Items.Get_Position ("livre"));
Text_Io.New_Line;
if Items.Exists ("Lampe") then
Text_Io.Put_Line ("Lampe exist");
end if;
if Items.Exists ("sac") then
Text_Io.Put_Line ("sac exist");
end if;
if Items.Exists ("livre") then
Text_Io.Put_Line ("livre exist");
end if;
if not Items.Exists ("pas dans la liste") then
Text_Io.Put_Line
("un item qui n'est pas dans la liste n'existe pas");
end if;
Text_Io.New_Line;
if Items.In_State ("Lampe", "Allumee") then
Text_Io.Put_Line ("la Lampe est allumee");
end if;
if not Items.In_State ("sac", "en plastic") then
Text_Io.Put_Line ("le sac n'est pas en plastic");
end if;
if Items.In_State ("sac", "en_cuir") then
Text_Io.Put_Line ("le sac est en cuir");
end if;
if Items.In_State ("livre", "lourd") then
Text_Io.Put_Line ("le livre est lourd");
end if;
Text_Io.New_Line;
Items.Remove_State ("livre", "cache");
if not Items.In_State ("livre", "cache") then
Text_Io.Put_Line ("livre n'est plus cache");
end if;
end Affiche;
end Test_Reading_Item;
nblk1=6
nid=2
hdr6=8
[0x00] rec0=0b rec1=00 rec2=01 rec3=024
[0x01] rec0=16 rec1=00 rec2=05 rec3=032
[0x02] rec0=1c rec1=00 rec2=04 rec3=01a
[0x03] rec0=01 rec1=00 rec2=03 rec3=000
[0x04] rec0=01 rec1=00 rec2=03 rec3=000
[0x05] rec0=15 rec1=00 rec2=04 rec3=001
tail 0x21541bc14864b3446618a 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 06 03 fc 80 25 74 65 6d 73 2e 53 65 74 5f 50 ┆ %tems.Set_P┆
0x6: 0000 00 00 00 57 80 37 6d 6d 65 6e 74 20 6f 66 20 61 ┆ W 7mment of a┆