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=2.1 required=5.0 tests=BAYES_40,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56c32e2629d629a X-Google-Attributes: gid103376,public From: Alan Brain Subject: Re: What's syntax for a case statement? Date: 1997/06/13 Message-ID: <33A20B49.19D4@dynamite.com.au>#1/1 X-Deja-AN: 248085299 References: <5nk6gu$gbp@prometheus.acsu.buffalo.edu> <5nllti$lgb@zdi.informatik.uni-stuttgart.de> <33A0B0BE.30A8@dynamite.com.au> Organization: @Home Reply-To: aebrain@dynamite.com.au Newsgroups: comp.lang.ada Date: 1997-06-13T00:00:00+00:00 List-Id: Robert Dewar wrote: > > Alan said > > < is > This is completely wrong, there is no requirement that the expression after > the case be the name of a discrete variable, it is a general expression. > > If you are going to post syntax that can easily be looked up, at least do > it right! I stand corrected, and my thanks. Moral of story: Never, ever, post on a public newsgroup at 3 am, immediately after writing to a student why he couldn't say case NameOfAFloat is when 0.0..3.768 => -- aebrain@dynamite.com.au <> <> How doth the little Crocodile | Alan & Carmel Brain| xxxxx Improve his shining tail? | Canberra Australia | xxxxxHxHxxxxxx _MMMMMMMMM_MMMMMMMMM 100026.2014 compuserve o OO*O^^^^O*OO o oo oo oo oo By pulling MAERKLIN Wagons, in 1/220 Scale See http://www.z-world.com/graphics/z/master/8856.gif for picture