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

⟦b0c774275⟧ TextFile

    Length: 1040 (0x410)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

package Square is
    Max : constant Integer := 99;
    subtype Ordre is Integer range 0 .. Max;

    type Direction is (North, South, East, West);
    type Matrix is
       array (Integer range 1 .. Max, Integer range 1 .. Max) of Integer;
    type Case_Courrante is  
        record
            X : Ordre;
            Y : Ordre;
        end record;

    procedure Deposit (Carre : in out Matrix;
                       Coordonnees : in out Case_Courrante;
                       I : in Integer;
                       Nombre : in Integer);
    procedure Display (Carre : in Matrix; Nombre : in Integer);
    procedure Init_Square (Carre : in out Matrix; Nombre : in Integer);
    procedure Move (D : in Direction;  
                    Coordonnees : in out Case_Courrante;
                    Nombre : in Integer);
    procedure Go_To_Center
                 (Coordonnees : in out Case_Courrante; Nombre : in Integer);
    function Impaire (Nombre : in Integer) return Boolean;
    procedure Saisie (Nombre : in out Integer);
end Square;