Javic9

Untitled

May 2nd, 2020
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.35 KB | None | 0 0
  1. with Putter;use Putter;
  2.  
  3. package body PutterServer is
  4.    
  5.    task body pantalla is
  6.      
  7.    begin
  8.       loop
  9.      select
  10.         accept print (C : String; i : Integer) do
  11.            Putter.Put_Line(C&""&Integer'Image(i));
  12.         end print;
  13.         or
  14.         terminate;
  15.      end select;
  16.       end loop;
  17.    end pantalla;
  18.    
  19. begin
  20.    null;
  21. end PutterServer;
Add Comment
Please, Sign In to add comment