Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help


9.7 Select Statements -- TOC

(1)
There are four forms of the select_statement. One form provides a selective wait for one or more select_alternatives. Two provide timed and conditional entry calls. The fourth provides asynchronous transfer of control.
Syntax
(2)
       select_statement ::=
          selective_accept
         | timed_entry_call
         | conditional_entry_call
         | asynchronous_select
Examples
(3)
Example of a select statement:
(4)
       select
          accept Driver_Awake_Signal;
       or
          delay 30.0*Seconds;
          Stop_The_Train;
       end select;

Subclauses

  1. Selective Accept
  2. Timed Entry Calls
  3. Conditional Entry Calls
  4. Asynchronous Transfer of Control


Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help

Ada WWW Home -- Email comments, additions, corrections, gripes, kudos, etc. to:

Magnus Kempe -- Magnus.Kempe@di.epfl.ch
Copyright statement
Page last generated: 95-03-12