Sunday, July 24, 2011

Re: why is call needed in vimscript?


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|

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