DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5a8aa66e8⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Balls_Boxes_Stickers_Facts, seg_0117b2

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Ball, Box, Sticker;
use Ball, Box, Sticker;

with Instance, Text_Io;

package body Balls_Boxes_Stickers_Facts is

    procedure Create is
        A_Ball    : Ball.Object;
        A_Box     : Box.Object;
        A_Sticker : Sticker.Object;
    begin
        A_Ball := Ball.Add (With_Size => 10, With_Color => Ball.Red);
        Ball.Mask (O => A_Ball);
        Ball.Unmask (A_Ball);
--        Ball.Delete (O => A_Ball);
        A_Ball := Ball.Add (With_Size => 20, With_Color => Ball.Green);
        A_Ball := Ball.Add (With_Size => 34, With_Color => Ball.Green);
        A_Ball := Ball.Add (With_Size => 45, With_Color => Ball.Blue);
        --Ball.Mask (O => A_Ball);
        A_Ball := Ball.Add (With_Size => 45, With_Color => Ball.Blue);
        A_Ball := Ball.Add (With_Size => 45, With_Color => Ball.White);
        A_Ball := Ball.Add (With_Size => 600, With_Color => Ball.Yellow);

        A_Box := Box.Add (With_Size => 21, With_State => Is_Empty);
        --Box.Delete (A_Box);
        A_Box := Box.Add (With_Size => 15, With_State => Is_Empty);
        A_Box := Box.Add (With_Size => 35, With_State => Is_Empty);
        A_Box := Box.Add (With_Size => 48, With_State => Is_Empty);
        --Box.Delete (A_Box);
        Box.Mask_All;
        Box.Unmask_All;

        A_Sticker := Sticker.Add (With_Color => Sticker.Red,
                                  With_State => Is_Unused);
        A_Sticker := Sticker.Add (With_Color => Sticker.Green,
                                  With_State => Is_Unused);
        A_Sticker := Sticker.Add (With_Color => Sticker.Blue,
                                  With_State => Is_Unused);
    end Create;


    procedure Clear is
    begin
        Ball.Clean;
        Box.Clean;
        Sticker.Clean;
    end Clear;


end Balls_Boxes_Stickers_Facts;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1b rec1=00 rec2=01 rec3=008
        [0x01] rec0=1a rec1=00 rec2=02 rec3=000
    tail 0x2170d9bcc823a4a10c831 0x42a00088462063c03