comp.lang.ada
 help / color / mirror / Atom feed
* Ada 83 Style Query
@ 1996-05-06  0:00 W. Wesley Groleau (Wes)
  1996-05-06  0:00 ` Theodore E. Dennison
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-05-06  0:00 UTC (permalink / raw)



I'm working on some old code that has a long string of elsif checking
strings that come in from outside against known commands.

Seeking opinions on the desirability of using an enumerated type with 'VAL
and a case statement.  The sore spot is the need for an exception handler
when the incoming string matches none of the literals in the command list.

What would YOU do?  And yes, "look the other way" is a viable answer. :-)
--
---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Magnavox - Mail Stop 10-40                               Home: 219-471-7206
Fort Wayne,  IN   46808              elm (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




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

end of thread, other threads:[~1996-05-07  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-06  0:00 Ada 83 Style Query W. Wesley Groleau (Wes)
1996-05-06  0:00 ` Theodore E. Dennison
1996-05-06  0:00 ` John Herro
1996-05-07  0:00 ` Laurent Guerby

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