>> Can you use an exe for this?  I admit I haven't tried it...
>> exe "catch ".NWvariable
> 
> Maybe, but that's beside the point.

I don't think so. This is pretty much the standard way in Vim to construct all 
kinds of commandlines from variables. Most commands do not take 
variables/expressions as input directly but need to be constructed using the
:exe command. I don't see any good reason why :catch should differ.

Regards,

Ben.



Send instant messages to your online friends http://au.messenger.yahoo.com 


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

Raspunde prin e-mail lui