|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 876 (0x36c)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
with Text_Io, Bonus;
procedure Test_Bonus is
package Real_Io is new Text_Io.Float_Io (Float);
Char : Character;
The_Bonus : Bonus.Object;
begin
Bonus.Set (The_Bonus, 1.0);
loop
Text_Io.Put_Line ("visualiser le bonus (v)");
Text_Io.Put_Line ("augmenter le bonus (a)");
Text_Io.Put_Line ("diminuer le bonus (d)");
Text_Io.Put_Line ("quitter (q)");
Text_Io.Get (Char);
Text_Io.New_Line;
case Char is
when 'a' =>
Bonus.Improve (The_Bonus);
when 'd' =>
Bonus.Reduce (The_Bonus);
when 'v' =>
Real_Io.Put (Bonus.Get (The_Bonus));
Text_Io.New_Line;
when 'q' =>
exit;
when others =>
null;
end case;
end loop;
end Test_Bonus;