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

⟦aba94b439⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Class_Turtle, seg_036e7b

Derivation

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

E3 Source Code



-- 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;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2d rec1=00 rec2=01 rec3=024
        [0x01] rec0=10 rec1=00 rec2=02 rec3=001
    tail 0x2173408b684e1587173cd 0x42a00088462060003