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

⟦a1a0ccb2f⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Magique, seg_04cf2a

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



package body Magique is
    procedure Essai is
        I, J, X, Y, N, Val : Integer;

        Table : Tab;
    begin
        Indice := 15;
        X := (N / 2) + 1;
        Y := (N / 2) + 1;
        Val := 1;
        while Val < (N * N) + 1 loop
            begin
                while Table (X, Y) /= 0 loop
                    begin
                        X := X - 1;
                        if X = 0 then
                            X := N;
                            Y := Y + 1;
                            if Y > N then
                                Y := 1;
                            end if;

                            Table (X, Y) := Val;

                            X := X + 1;
                            if X > N then
                                X := 1;
                            end if;
                        end if;
                    end;
                end loop;
            end;
        end loop;
        Y := Y + 1;
        if Y > N then
            Y := 1;
        end if;
        Y := 1;
        Val := Val + 1;


    end Essai;
end Magique;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=024
        [0x01] rec0=0a rec1=00 rec2=02 rec3=001
    tail 0x215497bb8874f860af76f 0x42a00088462060003