|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Make_Coincided_Action_Rule, seg_04bfad, separate Fruit_Display_Visual_Rule_Bundle_5
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Fruit_Display_Visual_Rule_Bundle_5) package body Make_Coincided_Action_Rule is function Premiss return Fact_Queries is use Fact_Base; use Fruit_Frames_5; What_Marker_Name : constant Alias.Name := Alias.M; With_What_Marker_Name : constant Alias.Name := Alias.N; begin return (Requests.Exist ((Request_Name => Is_Equal (Make_Coincided_Request_Name), Marker_Name => Predicate.Define_As (What_Marker_Name), Argument1 => Predicate.Define_As (With_What_Marker_Name), Argument2 => Is_Any)), Visual_Markers.Exist ((Marker_Name => Is_Equal (What_Marker_Name), Position_X => Is_Any, Position_Y => Is_Any)), Visual_Markers.Exist ((Marker_Name => Is_Equal (With_What_Marker_Name), Position_X => Is_Any, Position_Y => Is_Any))); end Premiss; procedure Action (Objects : Fact_Collection) is use Fruit_Frames_5; use Slot; The_Request : Fact_Name renames Objects (1); The_What_Marker_Fact : Fact_Name renames Objects (2); The_With_What_Marker_Fact : Fact_Name renames Objects (3); Pos_X : Slot.Object := Visual_Markers.Get (The_With_What_Marker_Fact, Position_X); Pos_Y : Slot.Object := Visual_Markers.Get (The_With_What_Marker_Fact, Position_Y); begin Output_Stream.New_Line (Output_Stream.Standard_Output); Output_Stream.Put_Line ("***************************************", Output_Stream.Standard_Output); Output_Stream.Put_Line ("make coincided 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_What_Marker_Fact, Position_X, Pos_X); Visual_Markers.Change (The_What_Marker_Fact, Position_Y, Pos_Y); Requests.Delete (The_Request); end Action; end Make_Coincided_Action_Rule;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=18 rec1=00 rec2=01 rec3=046 [0x01] rec0=00 rec1=00 rec2=04 rec3=00a [0x02] rec0=15 rec1=00 rec2=03 rec3=038 [0x03] rec0=0a rec1=00 rec2=02 rec3=000 tail 0x21751be908692648deb69 0x42a00088462063c03