On 3/7/07, 7stud 7stud <dolgun / excite.com> wrote:
> Also, to be consistent, shouldn't it be:
>
> z = if x < y
>   true
> els
>   false
> end

Note the difference between

z = if x < y
  -1
else if x == y
    0
  else if x < y
      1
    end
  end
end

and

z = if x < y
  -1
elsif x == y
   0
elsif x < y
   1
end

martin