Gareth Adams wrote: > Mahen Surinam <neoanderson12 <at> gmail.com> writes: >> >> [.. snip ..] > > The error you were getting is because $Oldtext3 is not the same as > $OldText3 > > However, all of the previous replies highlight other issues which you > should > address in your code - the biggest of which (in my opinion) is using > globals for > a task which only ever stays in one scope. > > Gareth I meant this code: array = [] char = "a" 0.upto(25) do array << char array << array[0] + char char = char.next end -- Posted via http://www.ruby-forum.com/.