comp.lang.ada
 help / color / mirror / Atom feed
* Accept with parameters but no do-end?
@ 1986-11-06 19:37 Jacob Gore
  0 siblings, 0 replies; only message in thread
From: Jacob Gore @ 1986-11-06 19:37 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-11-06 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-11-06 19:37 Accept with parameters but no do-end? Jacob Gore

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