On Wed, Mar 18, 2009 at 16:27, Ben Fritz <[email protected]> wrote:
>
>
>
> On Mar 18, 8:25 am, Yakov Lerner <[email protected]> wrote:
>> redir => var         | let var = 0         " (in a function) refers to
>> local local var,
>>                                                    " it's reserved
>> name like 'count'
>> Everything is consistent. Where do you see a problem ?
>>
>
> StarWing is saying that he does, in a function,
> "redir => var" and the
> global var gets changed.

Not for me.

If I do 'redir => var' in a function,
local virable gets changed.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui