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

⟦2b2d32ce6⟧ TextFile

    Length: 1287 (0x507)
    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« 
        └─⟦6b7a0f9de⟧ 
            └─⟦this⟧ 

TextFile


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

   type object is private;

   procedure make  (name	  : physical_object;
		    is_at	  : coordinate;
		    weight	  : weight_type;
		    on	  	  : physical_object);

   function name   (the_reference : in expertSystem.reference) 
                 return physical_object;
   function is_at  (the_reference : in expertSystem.reference)
                 return coordinate;
   function weight (the_reference : in expertSystem.reference)
                 return weight_type;
   function is_on  (the_reference : in expertSystem.reference)
		 return physical_object;

   procedure modify_coordinate (the_reference  : in expertSystem.reference;
				new_coordinate : in coordinate);
   procedure modify_weight     (the_reference  : in expertSystem.reference;
				new_weight     : in weight_type);
   procedure modify_is_on      (the_reference  : in expertSystem.reference;
				new_object     : in physical_object);

   function instances return collection.object;

   procedure clear;

   illegal_make : exception;

   private
      type object is record
    	  name   : physical_object;
	  is_at  : coordinate;
	  weight : weight_type;
	  on     : physical_object;
      end record;
end physicalObject