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

⟦1c31eb182⟧ TextFile

    Length: 579 (0x243)
    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 Magic is  
    subtype Large is Positive range 1 .. 999;
    subtype Token is Natural;
    type Square (L : Large) is private;
    type Direction is (North, South, East, West);
    procedure Move (D : Direction);
    procedure Go_To_Center;
    procedure Deposit (T : Token);
    function Get_Token return Token;
    procedure Wrap_If_Edge;
    procedure Display_Square;
private
    type My_Square is array (Large range <>, Large range <>) of Token;
    type Square (L : Large) is
        record
            M : My_Square (1 .. L, 1 .. L);
        end record;
end Magic;