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

⟦1d9802c0e⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Link, seg_049b61, seg_049c13, seg_049c25

Derivation

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

E3 Source Code



with Complement_Identifier_Array, Screen;
package body Link is

    procedure Put (Item : in out Object;
                   Name, Start_Place, Start_Direction,
                   Next_Place, Next_Direction : in Positive) is

    begin
        Item.Name := Name;  
        Escape.Put (Item.Start_Escape, Start_Place, Start_Direction);
        Escape.Put (Item.Next_Escape, Next_Place, Next_Direction);
    end Put;

    procedure Show (Item : in Object) is

    begin
        Screen.Write_Help_Window
           ("Liaison : Nom : " &
            Complement_Identifier_Array.Image (Name (Item)));
        Screen.New_Line_Help_Window;
        Screen.Write_Help_Window ("Depart :");
        Screen.New_Line_Help_Window;
        Escape.Show (Item.Start_Escape);
        Screen.Write_Help_Window ("Arrivee :");
        Screen.New_Line_Help_Window;
        Escape.Show (Item.Next_Escape);
    end Show;

    function Key (Item : in Object) return String is

    begin
        return Complement_Identifier_Array.Image (Start_Direction (Item));
    end Key;

    function Name (Item : in Object) return Natural is

    begin
        return Item.Name;
    end Name;

    function Start_Direction (Item : in Object) return Natural is

    begin
        return Escape.Direction (Item.Start_Escape);
    end Start_Direction;

    function Next_Direction (Item : in Object) return Natural is

    begin
        return Escape.Direction (Item.Next_Escape);
    end Next_Direction;

    function Start_Place (Item : in Object) return Natural is

    begin
        return Escape.Place (Item.Start_Escape);  
    end Start_Place;

    function Next_Place (Item : in Object) return Natural is

    begin
        return Escape.Place (Item.Next_Escape);  
    end Next_Place;

end Link;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=006
        [0x01] rec0=23 rec1=00 rec2=03 rec3=000
        [0x02] rec0=1c rec1=00 rec2=03 rec3=000
        [0x03] rec0=04 rec1=0a rec2=a2 rec3=642
    tail 0x2154731ec86618a46e339 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 04 00 6b 00 00 00 00 09 20 20 20 20 62 65 67  ┆   k         beg┆
  0x4: 0000  00 00 02 38 80 2a 74 75 72 6e 20 45 73 63 61 70  ┆   8 *turn Escap┆