On 8月23日, 上午10时16分, "Benjamin R. Haskell" <v...@benizi.com> wrote:
> On Sun, 22 Aug 2010, eliweiq001 wrote:
>
> > I want to ask you something else.
>
> > :exe OpenLastModified(<q-args>)
>
> > You see, OpenLastModified is a function, but, why we can only use :exe
> > but not :call ?
> > I've tried :call but it won't work.
>
> OpenLastModified returns a string-form command to be executed.  This
> works well with <expr> mappings.  See:
>
> :help :map-expression
>
> You should be able to ':echo OpenLastModified(<arguments-here>)', if
> you're testing to see what it would execute.  Otherwise, what I said
> above is the reason ':call' doesn't "work" (You can't execute a string
> directly).
>
> --
> Best,
> Ben

Oh! I see ! Thanks!

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