From: Tobias Forlan Date: 2008-07-19T00:17:26+09:00 Subject: Re: Form Control Thanks Marc, Like you my brain can only comprehend simple things :) I'm really hoping I can finish Chris Pine's Learn to Program tutorial and take it from there. Cheers Marc Heiler wrote: > BTW instead of > > bottles = bottles - 1 > > > you can also do > > bottles -= 1 > > Granted, it is not a huge change. > > > About > > if bottles == 0 > > vs > > if bottles != 1 > > I'd prefer the first. For some reason my brain likes simple things > like == more than != which becomes especially complicated for my > brain to process when it is > unless bottles != 1 and bottles >= 5 > > :) -- Posted via http://www.ruby-forum.com/.