|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Une_Condition, seg_047ff8
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Our_Value, Our_String, Erreur, Compare_Clavier,
Un_Nombre, Compare_Entier, Un_Id_Compose, Compare_Id;
use Our_Value;
package body Une_Condition is
procedure Parse (Value : in out Our_Value.My_Variable) is
Str : Var_String;
begin
case Lex.Get_Token is
when Entree_Clavier =>
Lex.Next;
Compare_Clavier.Parse (Value);
when Left_Bracket =>
Lex.Next;
Un_Nombre.Parse (Value);
Compare_Entier.Parse (Value);
if Lex.Get_Token = Right_Bracket then
Lex.Next;
else
Erreur.Parse ("il manque une ')'");
end if;
when Vrai =>
Set_Value (Value, True);
Lex.Next;
when Faux =>
Set_Value (Value, False);
Lex.Next;
when others =>
Un_Id_Compose.Parse (Str);
Set_Value (Value, Str);
Compare_Id.Parse (Value);
if (Get_Type (Value) /= Type_Boolean) then
Erreur.Parse ("il manque une condition");
end if;
end case;
end Parse;
end Une_Condition;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=24 rec1=00 rec2=01 rec3=006
[0x01] rec0=0c rec1=00 rec2=02 rec3=001
tail 0x215438a5286519d5b55c7 0x42a00088462060003