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

⟦68b34edf9⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Carre, seg_04d177

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



--
-- Specifications du carre magique
--
with Io;  
with Creer_Tableau;
package Carre is
    Dimension : constant Integer := Creer_Tableau.Creer_Tableau;
    subtype Dim_Carre is Integer range 1 .. Dimension;
    type Etat_Champ is (Libre, Occupe);
    type T_Element is
        record  
            Valeur : Integer;
            Etat : Etat_Champ;
        end record;

    Tableau : array (Dim_Carre, Dim_Carre) of T_Element;

    type Position is
        record
            Abscisse : Dim_Carre;
            Ordonnee : Dim_Carre;
        end record;

    type Orientation is (Nordest, Nordouest);
    function Deplacer (Pos : Position) return Position;
    function Aller_Au_Centre return Position;
    procedure Afficher;  
    procedure Initialiser;
end Carre;





E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=23 rec1=00 rec2=01 rec3=000
    tail 0x217548e5a87564d7f8f54 0x42a00088462060003