DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦cc17796b9⟧ TextFile

    Length: 1317 (0x525)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

-- Messages Unaires :
-- Rentre_Chez_Toi
-- Leve_Ta_Plume
-- Baisse_Ta_Plume
-- Ton_X
-- Ton_Y
-- Ton_Angle
-- Duplique
-- En_Texte

-- Messages a Selecteurs :
-- TaFenetre:
-- Avance:
-- Recule:
-- Ton_Epaisseur:
-- Va_en_X:  Y:
-- Ton_Angle:
-- A_Gauche:
-- A_Droite:

with Message;
with Object;

package Class_Turtle is

    function Send (This_Message : Message.Unary; To : Object.Reference)
                  return Object.Reference;
    function Send (This_Message : Message.Binary; To : Object.Reference)
                  return Object.Reference;
    function Send (This_Message : Message.Keyword; To : Object.Reference)
                  return Object.Reference;

    function Create (From : Object.Reference) return Object.Reference;

    procedure Create;

    procedure Put (An_Object : Object.Reference);

    function How_Many return Object.Index;

private

    type Etat is (Baissee, Levee);
    type Turtle is
        record
            X : Object.Index := 0;
            Y : Object.Index := 0;
            Angle : Object.Index := 0;  
            Epaisseur : Object.Index := 1;
            Plume : Etat := Baissee;
            Fenetre : Object.Index := 1;
        end record;

    Table : array (Object.Index range 1 .. Object.Max_Turtle) of Turtle;

    Last : Object.Index := 0;

end Class_Turtle;