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

⟦993260764⟧ Ada Source

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

Derivation

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

E3 Source Code



with Unbounded_String;

package Tests_A is

    package Identifier is new Unbounded_String (1);

    type Test_Operation is (Is_A_Verb, Is_A_Complement, Is_In_State,
                            Is_Equal, Is_Greater, Is_Less, Always);

    type Type_Test is
        record  
            Kind : Test_Operation;
            Name : Identifier.Variable_String;
            State : Identifier.Variable_String;
            Value : Integer;
        end record;

    type Effect_Operation is (Increase, Decrease, Value, Print,
                              Comment, Game_Over, Change, Position);

    type Type_Effect is
        record
            Kind : Effect_Operation;
            Name : Identifier.Variable_String;
            State : Identifier.Variable_String;
            Other_State : Identifier.Variable_String;
            Position : Identifier.Variable_String;
            Value : Integer;
        end record;

    procedure Create (Test : Type_Test);
    procedure Add_Test (Test : Type_Test);
    procedure Add_Effect (Effect : Type_Effect);
    function Get_Test return Type_Test;
    function Get_Effect return Type_Effect;

    procedure Beginner;
    procedure Next;
    function At_End return Boolean;

    procedure First_Test;
    procedure Test_Sup;
    function At_End_Sup return Boolean;

    procedure First_Effect;
    procedure Next_Effect;
    function At_End_Effect return Boolean;
end Tests_A;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=050
        [0x01] rec0=12 rec1=00 rec2=02 rec3=001
    tail 0x21545d364865a3de5677d 0x42a00088462060003