From: "Sebastjan H." Date: 2012-05-18T16:01:57+09:00 Subject: Re: array of strings - finding letter combinations botp wrote in post #1061230: > On Thu, May 17, 2012 at 10:34 PM, Sebastjan H. > wrote: >> Ok, I hope this does it:) >> -------------------------------- >>       if answer == "n" >>       puts "Process aborted by user." >>       exit >>       else >>       end >>       else >>    end >> ------------------------------- > > > the sequence > > else > end > else > end > > > are very doubting... > kind regards -botp I know it looks odd, but as I understand each IF block has to have an END and it seems to me this is the only way the script works. But since I am new to this I posted here so maybe someone will find errors I made. regards, seba -- Posted via http://www.ruby-forum.com/.