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

⟦f082a6f0b⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Player_Entries, seg_049328, seg_04937f

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Bounded_String, Lex_Player;

-- Gestion d une table contenant les entrees du joueur
package Player_Entries is

    Error_Range_Player_Entries : exception;
    type Token is (Id, Command, End_Entry, Start_Com, Fin, Trace,
                   Symbole, Modele, Verbe, Complement, Lien, Connexion,
                   Introduction, Global, General, Local, Aide, End_Com,
                   Start_Prep, De, Avec, Par, Vers, Sur, Pour, Ou, Dans,
                   Du, A, La, Le, Les, Des, Un, Une, Se, End_Prep);

-- GET_PLAYER_ENTRY
-- Appel a saisie des commandes utilisateur
-- Remplissage de la table :
--  * elimination des Prepositions inutiles (Vers , sur etc ...)
--  * verification de l existence des commandes entrees ( :Aide, :Fin etc..)
--  * verification des sequences commande-actions
--  * verification des caracteres autorises
--  * Renvoi d un compte rendu de la saisie (Booleen)
    function Get_Player_Entry return Boolean;

-- GET_PLAYER_ERROR
-- Retourne une chaine de car. description des erreurs de saisies
    function Get_Player_Error return String;

-- IS_COMMAND
-- Retourne "TRUE" si la premiere entree est un commande predefinie.
    function Is_Command return Boolean;

-- GET_COMMAND
-- Retourne l identification de la premiere commande predefinie
    function Get_Command return Token;

-- PRINT_PLAYER_ENTRY
-- Affichage des entrees contenues dans la table
    procedure Print_Player_Entry;

-- GESTION D UN ITERATEUR DANS LA TABLE
--creation
    procedure Open_Index;
--element suivant
    procedure Next_Index;
--acces a l element indexe
    function Get_Indexed_Token return Token;
    function Get_Indexed_Entry return String;
-- modifie l element
    procedure Put_Indexed_Entry (S : String);
--indicateur de fin d iteration
    function Index_At_End return Boolean;

end Player_Entries;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=1d rec1=00 rec2=02 rec3=001
    tail 0x2174da07c865b75bb2eb3 0x42a00088462060003