Sunday, July 24, 2011

Re: why is call needed in vimscript?

On 25/07/11 03:41, Jose Caballero wrote:
>
> I don't know what you get for ":help call"
>
>
>
>
> :help call
>
> call({func}, {arglist} [, {dict}]) *call()* *E699*
> Call function {func} with the items in |List| {arglist} as
> arguments.
> {func} can either be a |Funcref| or the name of a function.
> a:firstline and a:lastline are set to the cursor line.
> Returns the return value of the called function.
> {dict} is for functions with the "dict" attribute. It
> will be
> used to set the local variable "self".
> |Dictionary-function|

Hm, strange.


Best regards,
Tony.
--
Save the whales. Collect the whole set.

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

No comments: