comp.lang.ada
 help / color / mirror / Atom feed
* select ... or delay ... end select
@ 2000-10-20  0:00 Alejandro Villanueva
  2000-10-20  0:00 ` Alejandro Villanueva
  2000-10-21  0:00 ` Robert Dewar
  0 siblings, 2 replies; 4+ messages in thread
From: Alejandro Villanueva @ 2000-10-20  0:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Dear Sirs,

Maybe I'm more stupid that I think I am but... why doesn't this code
work???


--
------------------------------------------------------
�Quieres Cobrar por Navegar en Internet?
Visita: http://www.navegana.com/dinero/flintstone.html
------------------------------------------------------
Alejandro Villanueva
190921@cepsz.unizar.es
------------------------------------------------------



[-- Attachment #2: condition.adb --]
[-- Type: text/plain, Size: 368 bytes --]

with Text_IO; use Text_IO;
procedure Condition is
   US: String (1..1);
   UI: Integer;
   task Wait is
      entry Ok;
   end Wait;
   task body Wait is
   begin
      Get_Line (US, UI);
      accept Ok;
   end Wait;
begin
   select
      Wait.Ok;
      Put_Line ("True");
   or
      delay Duration (1.0);
      Put_Line ("False");
   end select;
end Condition;
   

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-23  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-20  0:00 select ... or delay ... end select Alejandro Villanueva
2000-10-20  0:00 ` Alejandro Villanueva
2000-10-21  0:00 ` Robert Dewar
2000-10-23  0:00   ` Alejandro Villanueva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox