|
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, seg_04a53e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
WITH Text_Io; WITH Reel_Client; PROCEDURE Reel_Client_Driver IS PACKAGE Fio IS NEW Text_Io.Integer_Io (Integer); X : Integer; Y : Integer; Next_Op : Character; Result : Integer; BEGIN Text_Io.Put_Line ("This program demonstrates the RPC facility."); Text_Io.Put_Line ("The service allows clients to perform integer arithmatic."); Text_Io.Put_Line ("You will be prompted to enter two integer: X and Y,"); Text_Io.Put_Line ("and either addition or subtraction as the operation."); Text_Io.Put_Line (""); Text_Io.Put_Line (""); LOOP Text_Io.Put_Line ("Enter X ('Q' for Quit)"); Fio.Get (Item => X, Width => 0); Text_Io.Put_Line ("Enter Y ('Q' for Quit)"); Fio.Get (Item => Y, Width => 0); Text_Io.Put_Line (""); Text_Io.Put_Line ("Enter 'A' for Addition, 'S' for Subtract, or 'Q' for Quit"); Text_Io.Get (Next_Op); CASE Next_Op IS WHEN 'A' | 'a' => Result := Reel_Client.Plus (X, Y); Text_Io.Put_Line (""); Text_Io.Put ("X + Y = "); WHEN 'S' | 's' => Result := Reel_Client.Minus (X, Y); Text_Io.Put_Line (""); Text_Io.Put ("X - Y = "); WHEN OTHERS => EXIT; END CASE; Fio.Put (Result); Text_Io.Put_Line (""); Text_Io.Put_Line (""); END LOOP; EXCEPTION WHEN OTHERS => NULL; END Reel_Client_Driver; PRAGMA Main;
nblk1=4 nid=3 hdr6=4 [0x00] rec0=21 rec1=00 rec2=01 rec3=020 [0x01] rec0=16 rec1=00 rec2=02 rec3=000 [0x02] rec0=1b rec1=00 rec2=02 rec3=014 [0x03] rec0=0b rec1=00 rec2=03 rec3=001 tail 0x215479c60867047516ebc 0x489e0066482863c01 Free Block Chain: 0x3: 0000 00 04 03 fc 80 29 69 6f 2e 47 65 74 20 28 49 74 ┆ )io.Get (It┆ 0x4: 0000 00 00 00 16 80 13 50 61 72 74 2c 20 58 5f 49 6d ┆ Part, X_Im┆