comp.lang.ada
 help / color / mirror / Atom feed
From: jduarte@ternes.ICS.UCI.EDU (J o s e D u a r t e ! ! !)
Subject: procedural variables
Date: 11 Feb 91 18:04:29 GMT	[thread overview]
Message-ID: <9102110959.aa23851@PARIS.ICS.UCI.EDU> (raw)



	Since Ada does not provide for procedural variables, how
do you/your associates handle the need for having a procedure or
a task perform different duties depending on run-time circumstances?

	One scenario would be to pass an enumeration value to the
procedure and then to use "if-then-else-end if" or "case" statements to
determine which procedure should be run. This approach will work;
however, it seems inelegant.


	Does anyone one out there have a "nifty" solution or idea
that they would be willing to share?

Thanks,

JOSE D.

             reply	other threads:[~1991-02-11 18:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-02-11 18:04 J o s e D u a r t e ! ! ! [this message]
1991-02-11 21:45 ` procedural variables Howard Turner
1991-02-12 12:32   ` Matthias Ulrich Neeracher
1991-02-15 18:32     ` Charles H. Sampson
1991-02-16 13:12       ` madmats
1991-02-19 20:33         ` stephen edwards
1991-02-20 21:02           ` Jim Showalter
1991-02-18  0:28       ` Jim Showalter
1991-02-12 23:04   ` (George C. Harrison) Norfolk State University
  -- strict thread matches above, loose matches on Subject: below --
1991-02-14 19:08 stt
1991-02-24 21:18 Erland Sommarskog
replies disabled

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