Friday, January 22, 2010

Re: How to effectively call a function in another script?

> let s:str1 = "test1"
> let s:str2 = "test2"
>
> function s:bar()
>  return s:str2
>
> function Foo()
>  return s:bar() . s:str1

:help :endfunction

--
Sergey Khorev
http://sites.google.com/site/khorser
Can anybody think of a good tagline I can steal?

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

No comments: