|
|
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: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Search_Top_Rule, seg_04be4e, separate Fruit_Display_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_Display_Rule_Bundle_4)
package body Search_Top_Rule is
function Premiss return Fact_Queries is
use Fruit_Frames_4;
begin
return (Requests.Absent ((Request_Name => Is_Any,
Marker_Name => Is_Any,
Argument1 => Is_Any,
Argument2 => Is_Any)),
Markers.Exist ((Marker_Name => Is_Equal (Model_Marker_Name))),
Markers.Exist ((Marker_Name =>
Is_Equal (Top_Copied_Model_Marker_Name))),
Markers.Exist ((Marker_Name =>
Is_Equal (Selected_Block_Marker_Name))),
Markers.Exist ((Marker_Name =>
Is_Equal (Search_Top_Block_Marker_Name))),
Labels.Exist ((Marker_Name =>
Is_Equal (Search_Top_Block_Marker_Name),
Label => Is_Any)),
Markers.Absent ((Marker_Name =>
Is_Equal (Top_Block_Marker_Name))));
end Premiss;
procedure Action (Objects : Fact_Collection) is
use Fruit_Frames_4;
use Slot;
The_Label : Slot.Object;
The_Search_Top_Label : Fact_Name renames Objects (6);
begin
Output_Stream.New_Line (Output_Stream.Standard_Output);
Output_Stream.Put_Line ("***************************************",
Output_Stream.Standard_Output);
Output_Stream.Put_Line ("search top rule",
Output_Stream.Standard_Output);
Output_Stream.Put_Line ("***************************************",
Output_Stream.Standard_Output);
Output_Stream.New_Line (Output_Stream.Standard_Output);
The_Label := Labels.Get (The_Search_Top_Label, Label);
if (The_Label = Null_Object) then
Requests.Add ((Request_Name => Move_Request_Name,
Marker_Name => Search_Top_Block_Marker_Name,
Argument1 => Down_Direction,
Argument2 => Value (1)));
Markers.Add ((Marker_Name => Top_Block_Marker_Name));
else
Requests.Add ((Request_Name => Move_Request_Name,
Marker_Name => Search_Top_Block_Marker_Name,
Argument1 => Up_Direction,
Argument2 => Value (1)));
end if;
Labels.Delete ((The_Search_Top_Label));
end Action;
end Search_Top_Rule;
nblk1=3
nid=0
hdr6=6
[0x00] rec0=17 rec1=00 rec2=01 rec3=00e
[0x01] rec0=14 rec1=00 rec2=03 rec3=066
[0x02] rec0=12 rec1=00 rec2=02 rec3=000
tail 0x217515a1e86906359afee 0x42a00088462063c03