|
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: 6144 (0x1800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Find_Action_Rule, seg_04bdfd, separate Fruit_Rule_Bundle_4
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Fruit_Rule_Bundle_4) package body Find_Action_Rule is function Premiss return Fact_Queries is use Fact_Base; use Fruit_Frames_4; The_Marker_Name : constant Alias.Name := Alias.M; The_X_Pos : constant Alias.Name := Alias.X; The_Y_Pos : constant Alias.Name := Alias.Y; The_Label : constant Alias.Name := Alias.L; begin return (Requests.Exist ((Request_Name => Is_Equal (Find_Request_Name), Marker_Name => Predicate.Define_As (The_Marker_Name), Argument1 => Define_As (The_Label), Argument2 => Is_Any)), Visual_Markers.Exist ((Marker_Name => Is_Equal (The_Marker_Name), Position_X => Is_Any, Position_Y => Is_Any)), Visual_Blocks.Exist ((Label => Is_Equal (The_Label), Position_X => Define_As (The_X_Pos), Position_Y => Define_As (The_Y_Pos))), Visual_Markers.Absent ((Marker_Name => Is_Equal (Model_Marker_Name), Position_X => Is_Equal (The_X_Pos), Position_Y => Is_Any)), Visual_Markers.Absent ((Marker_Name => Is_Equal (Top_Copied_Model_Marker_Name), Position_X => Is_Equal (The_X_Pos), Position_Y => Is_Any))); end Premiss; procedure Action (Objects : Fact_Collection) is use Fruit_Frames_4; use Slot; The_Request : Fact_Name renames Objects (1); The_Marker_Fact : Fact_Name renames Objects (2); The_Found_Block_Fact : Fact_Name renames Objects (3); The_X_Pos : Slot.Object := Visual_Blocks.Get (The_Found_Block_Fact, Position_X); The_Y_Pos : Slot.Object := Visual_Blocks.Get (The_Found_Block_Fact, Position_Y); begin Output_Stream.New_Line (Output_Stream.Standard_Output); Output_Stream.Put_Line ("***************************************", Output_Stream.Standard_Output); Output_Stream.Put_Line ("find action rule", Output_Stream.Standard_Output); Output_Stream.Put_Line ("***************************************", Output_Stream.Standard_Output); Output_Stream.New_Line (Output_Stream.Standard_Output); Visual_Markers.Change (The_Marker_Fact, Position_X, The_X_Pos); Visual_Markers.Change (The_Marker_Fact, Position_Y, The_Y_Pos); Requests.Delete (The_Request); end Action; end Find_Action_Rule;
nblk1=5 nid=4 hdr6=6 [0x00] rec0=19 rec1=00 rec2=01 rec3=01c [0x01] rec0=14 rec1=00 rec2=03 rec3=07e [0x02] rec0=13 rec1=00 rec2=02 rec3=000 [0x03] rec0=0e rec1=00 rec2=02 rec3=000 [0x04] rec0=c0 rec1=00 rec2=00 rec3=100 tail 0x217514a7a86903e3d8ed9 0x42a00088462063c03 Free Block Chain: 0x4: 0000 00 05 03 fc 80 0e 73 20 4f 62 6a 65 63 74 73 20 ┆ s Objects ┆ 0x5: 0000 00 00 00 04 80 01 65 01 00 00 00 00 00 00 00 01 ┆ e ┆