On Mon, May 22, 2006 at 02:11:49PM -0700, Hari Krishna Dara wrote:
> 
> In a Vim7 session, after working for sometime, I started getting a weird
> error, when one of my plugins did the below:
> 
> :put=""

This is the same as using:

  :put =

Double quotes are Vim's comment character so you either need to use
single quotes or escape the double quotes.

> and the error was:
> 
> E121: Undefined variable: retVal
> E15: Invalid expression: retVal

As noted in the help for :put, if nothing is specified after '=' then
the previous expression is used.  In this case, it appears that
contained a variable that was no longer in scope.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to