Monday, May 23, 2011

Re: question about string expression evaluation / bug?

On May 23, 8:12 am, hsitz <hes...@gmail.com> wrote:
end.
>
> Zyx -- Thanks very much, I think you're onto something.
>
> However on my machine the two expressions you give above both evaluate
> to 1.  What is the explanation for the difference?:
> ------------------------------------------
>  :echo 'DONE' ># ''
>     1
> :echo 'DONE' >? ''
>     1
> ----------------------------------------

Also, I understand that 'ignorecase' affects result of string
evaluations, but what possible reason can there be for _ever_ having
it be false that:

'nonemptystring' > ''

Surely if that expression ever evaluates as false there is some
mistake? Why should ignoring case have any affect on the outcome of
that expression?

-- Herb

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment