|
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 - download
Length: 2048 (0x800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Calculateur, seg_03cf83
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; procedure Calculateur is type Real is digits 10; package Io_Real is new Text_Io.Float_Io (Real); A, B : Real; Opr : Character; Result : Real; I : Integer := 1; begin while I < 3 loop I := I + 1; Text_Io.Put_Line ("ici"); Io_Real.Get (A); Text_Io.Get (Opr); Io_Real.Get (B); case Opr is when '+' => Result := A + B; when '-' => Result := A - B; when '*' => Result := A * B; when '/' => Result := A / B; when others => Text_Io.Put ("ERROR **** DAD OPERATOR"); exit; -- sort de la boucle sur une entree erronee end case; Io_Real.Put (Result); Text_Io.New_Line; end loop; end Calculateur;
nblk1=1 nid=0 hdr6=2 [0x00] rec0=29 rec1=00 rec2=01 rec3=000 tail 0x2173b599a85f05f45487c 0x42a00088462060003