|
On Wed, Oct 25, 2006 at 09:37:18AM -0700, Mark Edgar wrote: > Personally, the standard Lua idiom works well for me: > > assert( ( true and 'a' or 'b' ) == 'a' ) > assert( ( nil and 'a' or 'b' ) == 'b' ) For me, too, now that I know about it! Thanks, Sam