comp.lang.ada
 help / color / mirror / Atom feed
* Ada function
@ 2000-03-11  0:00 version_x
  2000-03-11  0:00 ` Preben Randhol
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: version_x @ 2000-03-11  0:00 UTC (permalink / raw)


i'm writing a program for a uni assignment and needed a bit of help,

basically the program asks the user to chose from a chioce of three options, all of which have a different $ value and then asks you how many you want and then computes the final value.
(i realise this is simple)

my question is, instead of using if statements, which would appear to be a fairly longwinded way is there an ada equivalent  the "case" statement that appears in other programming languages?


rees.




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

end of thread, other threads:[~2000-03-14  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-11  0:00 Ada function version_x
2000-03-11  0:00 ` Preben Randhol
2000-03-12  0:00 ` tmoran
2000-03-14  0:00 ` HDhil

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