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

⟦e754aad0b⟧ Ada Source

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

Derivation

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

E3 Source Code



with Ask_User_For_N;
package Square is
    Tab_Size : constant Positive := Ask_User_For_N;
    type Direction is (North, South, East, West, North_East, North_West);
    subtype Tocken is Integer range 0 .. Tab_Size * Tab_Size;
    type Ttab_Square is array (1 .. Tab_Size, 1 .. Tab_Size) of Tocken;
    type Ligne_Colom is
        record
            Ligne : Integer range 0 .. Tab_Size + 1;
            Colom : Integer range 0 .. Tab_Size + 1;
        end record;

    procedure Move (D : Direction);

    procedure Goto_Center;

    procedure Deposit (T : Tocken);

    procedure Init_Square;

    procedure Display_Square;

    function Current_Tocken return Tocken;

    Lc : Ligne_Colom;
    My_Square : Ttab_Square;

end Square;

E3 Meta Data

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