comp.lang.ada
 help / color / mirror / Atom feed
From: Alan Brain <aebrain@dynamite.com.au>
Subject: Re: What's syntax for a case statement?
Date: 1997/06/13
Date: 1997-06-13T00:00:00+00:00	[thread overview]
Message-ID: <33A20B49.19D4@dynamite.com.au> (raw)
In-Reply-To: dewar.866135079@merv


Robert Dewar wrote:
> 
> Alan said
> 
> <<case < name-of-a-descrete variable> 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






  reply	other threads:[~1997-06-13  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-10  0:00 What's syntax for a case statement? Scott B Moore
1997-06-10  0:00 ` John G. Volan
1997-06-10  0:00 ` Michael F Brenner
1997-06-11  0:00 ` Darren C Davenport
     [not found] ` <5nllti$lgb@zdi.informatik.uni-stuttgart.de>
1997-06-12  0:00   ` Alan Brain
1997-06-12  0:00     ` David C. Hoos, Sr.
1997-06-12  0:00     ` Robert Dewar
1997-06-13  0:00       ` Alan Brain [this message]
1997-06-13  0:00         ` Robert Dewar
replies disabled

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