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

⟦f0713e8fb⟧ Ada Source

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

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



package Carre is  
    Taille_Maximum_Du_Tableau : constant Natural := 100;
    subtype Dimension is Natural range 1 .. Taille_Maximum_Du_Tableau;
    subtype Dimension_Chiffres is Natural;
    function Cherche_Taille return Dimension;
    type Object (Taille_Carre : Dimension) is private;
    procedure Creer (Taille_Carre : in Dimension; Tableau : in out Object);
    procedure Affiche (Taille_Carre : in Dimension; Tableau : in Object);

private
    type Direction is (Nord, Nord_Est, Nord_Ouest);
    type Type_Tableau is
       array (Dimension range <>, Dimension range <>) of Dimension_Chiffres;
    type Object (Taille_Carre : Dimension) is
        record
            Valeurs : Type_Tableau (1 .. Taille_Carre, 1 .. Taille_Carre);
        end record;
    procedure Initialiser (Tableau : in out Object;
                           Taille_Carre : in Dimension);
    procedure Va_Au_Centre (Taille_Carre : in Dimension;
                            Valeur_X, Valeur_Y : in out Integer);
    procedure Deplacer (Taille_Carre : in Dimension;
                        La_Direction : in Direction;
                        Valeur_X, Valeur_Y : in out Integer);
    procedure Depose (La_Valeur : in Dimension_Chiffres;
                      Tableau : in out Object;
                      Valeur_X, Valeur_Y : in Integer);
end Carre;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=16 rec1=00 rec2=01 rec3=060
        [0x01] rec0=09 rec1=00 rec2=02 rec3=001
    tail 0x21766732088d13dc3f1a6 0x42a00088462060003