comp.lang.ada
 help / color / mirror / Atom feed
From: gore@nucsrl.UUCP (Jacob Gore)
Subject: Accept with parameters but no do-end?
Date: Thu, 6-Nov-86 14:37:38 EST	[thread overview]
Date: Thu Nov  6 14:37:38 1986
Message-ID: <3930001@nucsrl.UUCP> (raw)

From ALRM 9.5, paragraph 21:

  "An accept statement need not have a sequence of statements even if the
   corresponding entry has parameters.

So, the following statement is legal:

   accept AN_ENTRY (A_PARM: A_TYPE);

Could somebody tell me why?  What would this be used for?  What's the scope of
A_PARM?

Jacob Gore
Northwestern University
Computer Science Research Lab
{ihnp4,chinet}!nucsrl!gore

                 reply	other threads:[~1986-11-06 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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