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

⟦6187e88b1⟧ TextFile

    Length: 1468 (0x5bc)
    Types: TextFile
    Notes: R1k Text-file segment

Derivation

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

TextFile


with expertSystem, monkeyObject; use expertSystem, monkeyObject;
package goal is

   type object is private;

   procedure make       (status        : goal_state;
			 goal_type     : g_type;
			 name	       : physical_object;
			 go_to	       : coordinate);

   function status      (the_reference : in expertSystem.reference)
                       return goal_state;
   function goal_type   (the_reference : in expertSystem.reference)
		       return g_type;
   function object_name (the_reference : in expertSystem.reference)
                       return physical_object;
   function go_to       (the_reference : in expertSystem.reference)
                       return coordinate;

   procedure modify_status      (the_reference  : in expertSystem.reference;
		                 new_status     : in goal_state);
   procedure modify_goal_type   (the_reference  : in expertSystem.reference;
				 new_type       : in g_type);
   procedure modify_object_name (the_reference  : in expertSystem.reference;
				 new_object     : in physical_object);
   procedure modify_go_to       (the_reference  : in expertSystem.reference;
				 new_location   : in coordinate);

   function instances return collection.object;

   procedure clear;

   illegal_make : exception;

   private
      type object is record
          status    : goal_state;
          goal_type : g_type;
          name      : physical_object;
          go_to     : coordinate;
      end record;
end goal;