comp.lang.ada
 help / color / mirror / Atom feed
From: version_x@hotmail.com
Subject: Ada function
Date: 2000/03/11
Date: 2000-03-11T00:00:00+00:00	[thread overview]
Message-ID: <952768687.972088@srv1.space.net.au> (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.




             reply	other threads:[~2000-03-11  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-11  0:00 version_x [this message]
2000-03-11  0:00 ` Ada function Preben Randhol
2000-03-12  0:00 ` tmoran
2000-03-14  0:00 ` HDhil
replies disabled

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