On Jun 2, 2007, at 10:56 AM, Ivo Dancet wrote: > My solution has 75 characters, damn, I will have another look at it! > > to answer ari's questions: > >> case s >> when s + 1 == y and s - 1 == q > > try this: > > case > when s+1==y && s-1==q Alrighty - looks good so far. When would it be appropriate to use 'and'? Also, i seem to be unable to put a range into an array. Yes, i understand this is very simple, but when I did what I THOUGHT would work, I can't get a range of numbers to be inserted into an array. Apparently this does not work: array = [] array = array << (1..100) who knew! Not I, help? thanks, ---------------------------------------------------------------| ~Ari Extra bonus fun question: If gsub! doesn't work for integers, what could I use?