From: johnherro@aol.com (John Herro)
Subject: Re: GNAT messages and the not operator (pitfall alert!)
Date: 1996/10/29
Date: 1996-10-29T00:00:00+00:00 [thread overview]
Message-ID: <554f6p$4m8@newsbf02.news.aol.com> (raw)
In-Reply-To: dewar.846332907@merv
dewar@merv.cs.nyu.edu (Robert Dewar)
corrects my error, writing that Ada
requires parentheses when mixing
"and" and "or" in an expression.
I'm surprised, but of course you're right! I was thinking of mentioning
this in the "Loose Ends and Pitfalls" section of my AdaTutor program, but
then decided against it. If a person writes A and B or C, the compiler
will complain, so that's not really a pitfall, just a possible surprise..
Fortunately, the tutorial _does_ already list as a pitfall the fact that
-A mod B means -(A mod B).
- John Herro
Software Innovations Technology
http://members.aol.com/AdaTutor
ftp://members.aol.com/AdaTutor
-----
The mathematical relationship between Christmas and Halloween:
31 = 25
OCT DEC
next prev parent reply other threads:[~1996-10-29 0:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-24 0:00 GNAT messages and the not operator (pitfall alert!) Robert Dewar
1996-10-24 0:00 ` Robert Dewar
1996-10-25 0:00 ` whiting_ms@corning.com (Matt Whiting)
1996-10-26 0:00 ` David C. Hoos, Sr.
1996-10-27 0:00 ` Robert Dewar
1996-10-28 0:00 ` Matthew S. Whiting
1996-10-26 0:00 ` John Herro
1996-10-26 0:00 ` Matthew Heaney
1996-10-29 0:00 ` Robert Dewar
1996-10-26 0:00 ` Robert Dewar
1996-10-29 0:00 ` John Herro [this message]
1996-10-29 0:00 ` Robert Dewar
1996-10-30 0:00 ` Dr. Peter E. Obermayer
1996-10-30 0:00 ` John Herro
1996-10-30 0:00 ` Robert Dewar
1996-11-01 0:00 ` User Password expiration date extractor? Stein-Aksel Basma
1996-10-29 0:00 ` GNAT messages and the not operator (pitfall alert!) Norman H. Cohen
1996-10-29 0:00 ` whiting_ms@corning.com (Matt Whiting)
1996-10-30 0:00 ` David C. Hoos, Sr.
1996-10-30 0:00 ` whiting_ms@corning.com (Matt Whiting)
1996-10-30 0:00 ` Norman H. Cohen
1996-10-30 0:00 ` Norman H. Cohen
1996-11-06 0:00 ` Richard A. O'Keefe
1996-11-18 0:00 ` Norman H. Cohen
1996-11-18 0:00 ` Robert Dewar
1996-10-30 0:00 ` Robert Dewar
1996-11-05 0:00 ` Robert Dewar
1996-10-28 0:00 ` Cary Jamison
1996-10-29 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