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

⟦66d3cfc64⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Robot_New, seg_011ea7

Derivation

└─⟦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 Expertsystem;
use Expertsystem;
package Robot_New is

    subtype Object is Reference;

    subtype Tname is String (1 .. 10);
    type Ttask is (Prendre, Deposer);
    subtype Tbox is Positive;

    function All_Robots return Collection.Object;
    function Last_Box return Tbox;
    function Name (Of_Robot : Object) return Tname;
    function Box_Number (Of_Robot : Object) return Tbox;
    function Is_Occupied (The_Robot : Object) return Boolean;
    function Is_The_Task (Of_Robot : Object; The_Task : Ttask) return Boolean;

    procedure Modify (The_Robot : Object; The_Occupation : Boolean);
    procedure Modify (The_Robot : Object; The_Task : Ttask);
    procedure Modify (The_Robot : Object; The_Box : Tbox);
    procedure Suicide (Of_Robot : Object);

    procedure Create;

end Robot_New;


E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=1d rec1=00 rec2=01 rec3=000
        [0x01] rec0=06 rec1=00 rec2=02 rec3=001
    tail 0x2170df1ba82466d122c4e 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 10 80 04 4e 65 77 3b 04 00 00 00 00 00  ┆      New;      ┆