[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: block return semantic
- From: Tom Wrensch <Thomas.Wrensch@...>
- Date: Wed, 27 Jun 2001 09:25:38 -0600 (MDT)
> From: Tom Wrensch [mailto:Thomas.Wrensch@Colorado.EDU]
> Note that an alternative approach would be to implement a special
> expression version of if-then-else such as Java's <cond> ? <exp1> :
> <exp2> form.
> You could use
> (<cond> and <exp1>) or <exp2>
> if you know that exp1 will not be nil.
That should work in most cases. Thanks.