From: CHubas Date: 2007-06-07T11:35:08+09:00 Subject: Re: Globals not incrementing inside block > You don't need global variables. > > total = 0 > 5.times do > total += 1 > end Unless you want your snippet to have side effects. Which is unlikely, since the method is called at_exit. Anyway, you are assigning the variables new values, so you can use local ones instead. __________________________________________ Dictionary is the only place that success comes before work. - Vince Lombardi