|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Create_Initial_Facts, seg_0111dc
└─⟦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, Slot_Examples, Instance;
use Frame_Examples, Slot_Examples;
use Slot;
with Text_Io, Collection;
procedure Create_Initial_Facts is
use Ball_Features, Frame_Examples.Box_Features, Sticker_Features;
begin
Ball.Add (With_Values => (Size => Slot.Value (10),
Place => In_The_Heap,
Colour => Colours.Red));
Ball.Add (With_Values => (Size => Slot.Value (20),
Place => In_The_Heap,
-- Place => In_The_Box,
Colour => Colours.Red));
Ball.Add (With_Values => (Size => Slot.Value (30),
Place => In_The_Heap,
Colour => Colours.Green));
Ball.Add (With_Values => (Size => Slot.Value (40),
Place => In_The_Heap,
Colour => Colours.Green));
Ball.Add (With_Values => (Size => Slot.Value (50),
Place => In_The_Heap,
Colour => Colours.Green));
Ball.Add (With_Values => (Size => Slot.Value (60),
Place => In_The_Heap,
Colour => Colours.Green));
Ball.Add (With_Values => (Size => Slot.Value (70),
Place => In_The_Heap,
Colour => Colours.Green));
Box.Add (With_Values => (Name => Slot.Value ("the_first_box"),
Size => Slot.Value (15),
State => State_Slot.Value (Is_Free),
Contains => Slot.Value (Instance.Null_Reference)));
Sticker.Add (With_Values => (Colour => Colours.Green));
Sticker.Add (With_Values_List =>
((Colour => Colours.Green), (Colour => Colours.Green)));
Text_Io.Put_Line (" nbre de balles :" &
Slot.Image (Slot.Value (Ball.Cardinality)));
Text_Io.Put_Line (" nbre de boites :" &
Slot.Image (Slot.Value (Box.Cardinality)));
Text_Io.Put_Line (" nbre d'etiquettes :" &
Slot.Image (Slot.Value (Sticker.Cardinality)));
Text_Io.Put_Line ("**** test de la function frame.instance *****");
Text_Io.Put_Line (" nbre de balles :" &
Slot.Image (Slot.Value (Collection.Cardinality
(Ball.Instances))));
Text_Io.Put_Line (" nbre de boites :" &
Slot.Image (Slot.Value
(Collection.Cardinality (Box.Instances))));
Text_Io.Put_Line (" nbre d'etiquettes :" &
Slot.Image (Slot.Value (Collection.Cardinality
(Sticker.Instances))));
end Create_Initial_Facts;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=1a rec1=00 rec2=01 rec3=00c
[0x01] rec0=18 rec1=00 rec2=04 rec3=00a
[0x02] rec0=14 rec1=00 rec2=03 rec3=032
[0x03] rec0=01 rec1=00 rec2=02 rec3=000
tail 0x2150c870e82383dd84ac9 0x42a00088462063c03