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

⟦9cc0dd13f⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Turtle_Class, seg_03802c, seg_038607, seg_038aa1

Derivation

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

E3 Source Code



with Arguments;
with Easy_X;
with Message;
with Object;

package Turtle_Class is

    Instance_Table_Full : exception;
    Incorrect_Method : exception;

    Predefined_Turtle : constant String := "Tortue";

    type Turtle_Ref is private;


    -- initialisation de la table d'instance des tortues
    procedure Init_Instance_Table;

    -- creation d'un objet tortue
    function Create return Object.Reference;

    -- envoi d'un message a un objet tortue
    function Send (To_Object : Object.Reference;
                   The_Message : Message.Selector;
                   With_Arguments : Arguments.List := Arguments.Void_Arguments)
                  return Object.Reference;

    -- affichage du contenu de la table d'instance des tortues
    procedure Image_Table;


private

    type Enum_Indicator is (Used, Unused);

    type Enum_Status is (Up, Down);

    type Enum_Size is (Fine, Medium, Large);

    type Turtle_Ref is
        record
            Indicator : Enum_Indicator := Unused;
            Status : Enum_Status := Up;
            Size : Enum_Size := Fine;
            X : Easy_X.Coordinate := 0;
            Y : Easy_X.Coordinate := 0;
            Angle : Integer := 0;
        end record;

end Turtle_Class;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=29 rec1=00 rec2=01 rec3=02c
        [0x01] rec0=0b rec1=00 rec2=02 rec3=001
    tail 0x215314ffa84e675c11238 0x42a00088462060003