From: Merrie Date: 2007-04-10T00:44:57+09:00 Subject: Infinate Loop - Please Advise ------=_NextPart_000_001D_01C77B01.11BC5F10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This program produces an infinate loop. I am learning from Learn to = Program and do not have a clear example how to do this particular = example. It is suppose to count down the bottles and repeat the phrase = until it reach 0 bottles of beer then end :) Merrie -------------------------------------------------------------------------= ------------ beers =3D 99 beerno =3D beers - 1.to_i while beerno !=3D 1 puts '99 bottles of beer on the wall, take one down, pass it around, there are ' + beerno.to_s + 'bottles of beer on the wall.' end ------=_NextPart_000_001D_01C77B01.11BC5F10--