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

⟦ad15c317b⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Control, seg_005e28

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



generic
    Minimum : in Integer := 0;
    Maximum : in Integer;
    Default : in Integer := 0;
package Control is
    type Running_Modes is (Checked, Constrained, Circulary);
    type Object        is private;
    procedure Set   (The_Object : in out Object; To_Value : Integer);  
    procedure Set   (The_Object : in out Object; To_Mode : Running_Modes);
    function  Get   (The_Object : Object) return Running_Modes;
    procedure Reset (The_Object : in out Object);
    procedure Up    (The_Object : in out Object; Count : Positive := 1);
    procedure Down  (The_Object : in out Object; Count : Positive := 1);
    procedure Put   (The_Object : Object);
    Underflow, Overflow : exception;
private
    type Object is
        record
            Value : Integer range Minimum .. Maximum := Default;
            Mode  : Running_Modes                    := Checked;
        end record;
end Control;  

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=18 rec1=00 rec2=01 rec3=001
    tail 0x2170169f881ba6f49c948 0x42a00088462063c03