|
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: 4096 (0x1000) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Test_Reading_Item, seg_0488e8
└─⟦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=3 nid=0 hdr6=6 [0x00] rec0=1a rec1=00 rec2=01 rec3=010 [0x01] rec0=19 rec1=00 rec2=02 rec3=068 [0x02] rec0=0b rec1=00 rec2=03 rec3=000 tail 0x21545d426865a3df3e1c0 0x42a00088462060003