On 5/11/06, Angelo <angelogladding / gmail.com> wrote:
> I'm very new to Ruby and am desperately trying to figure out what seems
> to be a fairly simple script.  Is there something special I need to know
> in regards to IF statements with Ruby that may differ from most other
> languages?
>
> The structure of the script looks like the following:
>
> for
>
>     if
>
>         if
>
>         else
>
>         end
>
>     elsif

you need an else here

>
>     end
>
>     if
>
>     end
>
> end
>
> It's bugging at the first and only elsif. (syntax error, unexpected
> kELSIF, expecting kEND)
>
> --
> Posted via http://www.ruby-forum.com/.
>
>


-- 
thanks,
-pate
-------------------------
http://on-ruby.blogspot.com