|
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: 2048 (0x800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Create_Object_Rule, seg_02ae1e, separate Many_Objects_Rules
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Text_Io; separate (Many_Objects_Rules) package body Create_Object_Rule is function Premiss return Join_Descriptor is begin return (States.Exist ((Value => Is_Equal (0))), Numbers.Exist ((Value => Is_Less (Max_Objects)))); end Premiss; procedure Action (The_Facts : Fact.Collection) is The_Number : Fact.Name renames The_Facts (2); The_Value : Integer := Numbers.Get (The_Number, Slot => Value); begin The_Value := The_Value + 1; Objects.Add (The_Fact => (X => The_Value, Y => The_Value * 2)); -- Text_Io.Put_Line ("creating object X =>" & Integer'Image (The_Value)); Numbers.Change (The_Number, Value, The_Value); end Action; end Create_Object_Rule;
nblk1=1 nid=0 hdr6=2 [0x00] rec0=16 rec1=00 rec2=01 rec3=000 tail 0x215232ee083e583cff1a1 0x42a00088462063c03