Advertisement
Javic9

Untitled

May 2nd, 2020
3,410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.66 KB | None | 0 0
  1. with io, Ada.Text_IO;
  2. use io, Ada.Text_IO;
  3.  
  4. package body io is
  5.    procedure ReadTemp(T: out Temperatura) is
  6.    begin
  7.       T:= 0.0;
  8.       Put("Accediendo a base de datos");
  9.       Put(".");
  10.       delay 0.6;
  11.       Put(".");
  12.       delay 0.6;
  13.       Put_Line(".");
  14.       delay 0.6;
  15.       Put_Line("Lectura de datos");
  16.    end;
  17.    
  18.    procedure WriteCau(C : Caudal; i :Integer) is
  19.    begin
  20.       Put("Accediendo a base de datos para la lectura del caudal numero " & i'Img);
  21.       Put(".");
  22.       delay 0.6;
  23.       Put(".");
  24.       delay 0.6;
  25.       Put_Line(".");
  26.       delay 0.6;
  27.       Put_Line("Escritura de caudal numero " & i'Img);
  28.    end;  
  29. end io;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement