From: Seebs Date: 2009-11-16T03:35:10+09:00 Subject: Re: very newbie question On 2009-11-15, 7stud -- wrote: > Whoops. I misinterpreted what your issue was. Yes, ruby is strange > that way. In ruby, only nil evaluates to false (and of course false IS > false). As a result, everything but nil and false evaluates to > true--including 0. Lua's the same way. I'm not comfortable with it yet, since I'm from a C background, but I think it's logically preferable. -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!