From: Hal Fulton Date: 2005-04-22T23:19:18+09:00 Subject: Re: for .. in .. else? David A. Black wrote: >>> >>> Shouldn't that be "if" instead of "unless"? >> >> >> No. You want to list the song names, unless the list of songs is >> empty, in which case you just want to say: no songs. >> >> (You have to read ahead to the end.empty? bit to see how it all fits >> together.) > > > Whoops. I think you're right. Never mind.... > Actually I'm not awake enough atm to judge... but the mere fact that it generates discussion shows that it's ugly code that I've written. :) Hal