From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,de608e4240f9b8f8,start X-Google-Attributes: gid103376,public From: version_x@hotmail.com Subject: Ada function Date: 2000/03/11 Message-ID: <952768687.972088@srv1.space.net.au>#1/1 X-Deja-AN: 596019198 Cache-Post-Path: srv1.space.net.au!unknown@p080.rp5.space.net.au X-Trace: 11 Mar 2000 18:09:36 -0800, 202.168.96.8 Organization: Spacenet (http://www.space.net.au) X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Newsgroups: comp.lang.ada Date: 2000-03-11T00:00:00+00:00 List-Id: 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.