From: james@... Date: 2002-04-13T04:23:30+09:00 Subject: RE: not vs !, and vs && > -----Original Message----- > From: Sean Chittenden [mailto:sean@chittenden.org] > > > I'm confused about the behavior of 'not'. The Pickaxe and > > Ruby21Days books suggests that 'not' is just another form of '!', > > yet, while this works: > > > > puts ! true # prints false > > > > this breaks: > > > > puts not true # parse error > > puts (!true) > puts (not true) The second one raises a parse error. But this works: puts "#{not true}" Odd. James