On May 23, 7:29 am, ZyX <zyx....@gmail.com> wrote:
> I know about one option that alters the behavior of `==', `!=', `>', `>=', 
> `<',
> `<=' when both arguments are strings: it is 'ignorecase'. I don't have
> vimOrganizer, but after I read about your problem I guessed that it may be
> because vimOrganizer changes value of 'ignorecase' locally. My assumption 
> proved
> to be right:
>     :echo 'DONE' ># ''
>     1
>     :echo 'DONE' >? ''
>     0
> This is a reason why I never use `==', `!=', `>', `>=', `<', `<=' for 
> comparing
> strings, only `is'/`isnot' (it looks better then `==#' and `!=#') and 
> operators
> with either `?' or `#' at the 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
----------------------------------------

-- 
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

Reply via email to