|
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: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Find_2, seg_0111f0
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Frame_Examples, Slot, Text_Io, Instance, Class, Create_Initial_Facts; use Frame_Examples; procedure Test_Find_2 is use Frame_Examples.Ball_Features, Frame_Examples.Box_Features, Frame_Examples.Sticker_Features, Slot.Operators; O : Frame_Examples.Ball.Object; Ok : Boolean; The_Ball : Frame_Examples.Ball.Object; begin Create_Initial_Facts; The_Ball := Ball.Find (With_Conditions => [expression]); return Ball.Value_Of (The_Object => The_Ball, Attribute => Size) < Max_Size and then Ball.Value_Of (The_Object => The_Ball, Attribute => Place) = In_The_Heap and then -- Box.Value_Of (The_Box, State) = State_Slot.Value (Is_Free) and then -- Box.Value_Of (The_Box, Size) > -- Ball.Value_Of (The_Ball, Size) and then -- Ball.Value_Of (The_Box, Colour) = -- Sticker.Value_Of (The_Sticker, Colour) and then -- not Box.Exist (With_Conditions => -- ((Size, Box.Greater, -- Ball.Value_Of (The_Ball, Size)), -- (Size, Box.Less, -- Box.Value_Of (The_Box, Size)))) and then not Ball.Exist (With_Conditions => ((Size, Ball.Greater, Ball.Value_Of (The_Ball, Size)), (Size, Ball.Less, Max_Size), (Place, Ball.Equal, In_The_Heap))); -- end Test_Find_2;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1a rec1=00 rec2=01 rec3=00e [0x01] rec0=0c rec1=00 rec2=02 rec3=000 tail 0x2150c887282383ef83d50 0x42a00088462063c03