Marc Weber wrote:
> if (1 >= 1) | let d = 1 | else | let d = "soo" | endif
> if (1 >= 1) | let d = 1 | else | let d = {'evalLazyClosedArgs': 1} | endif
The problem is simply that after you have execute the first line, the global
variable d contains a number (1). You're not able to change the type of a
variable
from number to dictionary.
If you ':unlet d' before the second line, it works (:help E706).
John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---