|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Syntaxe_Joueur, seg_0468cc
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Analyseur_Joueur, Text_Io; package body Syntaxe_Joueur is use Analyseur_Joueur; procedure Analyse_Entry is Ok : Boolean := False; begin loop Ok := False; -- ie pas d'erreur; Analyseur_Joueur.Next_Entry; case Analyseur_Joueur.Get_Token_Itf (1) is when Verb => Text_Io.Put_Line ("Ok ..."); -- remplir la table des symboles joueur; when Complement => Ok := True; Text_Io.Put_Line ("Votre premier mot doit etre un verbe du langage de jeu et non un complement!"); when Unknown => Ok := True; Text_Io.Put_Line (Get_Word (1) & " n'est pas un mot du vocabulaire definit !"); when Empty => Ok := True; Text_Io.Put_Line ("Veuillez entrer au moins un mot !"); end case; case Analyseur_Joueur.Get_Token_Itf (2) is when Verb => Ok := True; Text_Io.Put_Line ("Votre second mot doit etre un complement du langage de jeu et non un verbe !"); when Complement => Text_Io.Put_Line ("Ok ..."); -- remplir la table des symboles joueur; when Unknown => Ok := True; Text_Io.Put_Line (Get_Word (2) & " n'est pas un mot du vocabulaire definit !"); when Empty => null; end case; case Analyseur_Joueur.Get_Token_Itf (3) is when Verb => Ok := True; Text_Io.Put_Line ("Votre troisieme mot doit etre un complement du langage de jeu et non un verbe !"); when Complement => Text_Io.Put_Line ("Ok ..."); -- remplir la table des symboles joueur; when Unknown => Ok := True; Text_Io.Put_Line (Get_Word (3) & " n'est pas un mot du vocabulaire definit !"); when Empty => null; end case; exit when Ok = False; end loop; end Analyse_Entry; end Syntaxe_Joueur;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=1a rec1=00 rec2=01 rec3=02e [0x01] rec0=16 rec1=00 rec2=03 rec3=058 [0x02] rec0=10 rec1=00 rec2=02 rec3=000 [0x03] rec0=07 rec1=00 rec2=03 rec3=000 tail 0x215433d5886515cd51e3a 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 00 02 23 00 22 20 20 20 20 20 20 20 20 20 20 ┆ # " ┆